Searched refs:sleep_time (Results 1 - 19 of 19) sorted by relevance

/external/chromium_org/third_party/sfntly/cpp/src/test/
H A Dplatform_thread.cc86 struct timespec sleep_time, remaining;
89 sleep_time.tv_sec = duration_ms / 1000;
90 duration_ms -= sleep_time.tv_sec * 1000;
93 sleep_time.tv_nsec = duration_ms * 1000 * 1000; // nanoseconds.
95 while (nanosleep(&sleep_time, &remaining) == -1 && errno == EINTR)
96 sleep_time = remaining;
/external/sfntly/cpp/src/test/
H A Dplatform_thread.cc86 struct timespec sleep_time, remaining;
89 sleep_time.tv_sec = duration_ms / 1000;
90 duration_ms -= sleep_time.tv_sec * 1000;
93 sleep_time.tv_nsec = duration_ms * 1000 * 1000; // nanoseconds.
95 while (nanosleep(&sleep_time, &remaining) == -1 && errno == EINTR)
96 sleep_time = remaining;
/external/chromium_org/tools/xdisplaycheck/
H A Dxdisplaycheck.cc24 struct timespec sleep_time, remaining; local
27 sleep_time.tv_sec = duration_ms / 1000;
28 duration_ms -= sleep_time.tv_sec * 1000;
31 sleep_time.tv_nsec = duration_ms * 1000 * 1000; // nanoseconds.
33 while (nanosleep(&sleep_time, &remaining) == -1 && errno == EINTR)
34 sleep_time = remaining;
/external/chromium_org/v8/tools/testrunner/local/
H A Dcommands.py93 sleep_time = INITIAL_SLEEP_TIME
102 time.sleep(sleep_time)
103 sleep_time = sleep_time * SLEEP_TIME_FACTOR
104 if sleep_time > MAX_SLEEP_TIME:
105 sleep_time = MAX_SLEEP_TIME
/external/chromium_org/base/threading/
H A Dplatform_thread_posix.cc184 struct timespec sleep_time, remaining; local
189 sleep_time.tv_sec = duration.InSeconds();
190 duration -= TimeDelta::FromSeconds(sleep_time.tv_sec);
191 sleep_time.tv_nsec = duration.InMicroseconds() * 1000; // nanoseconds
193 while (nanosleep(&sleep_time, &remaining) == -1 && errno == EINTR)
194 sleep_time = remaining;
/external/chromium_org/ppapi/native_client/tools/browser_tester/browsertester/
H A Dbrowserprocess.py23 def Wait(self, wait_steps, sleep_time):
34 time.sleep(sleep_time)
H A Dbrowserlauncher.py49 sleep_time = 0.25
57 time.sleep(sleep_time)
58 sleep_time *= 2
/external/chromium_org/build/android/
H A Dadb_logcat_printer.py188 sleep_time = 5 - (time.time() - os.path.getctime(base_dir))
190 sleep_time = 5
191 if sleep_time > 0:
192 logger.warning('Monitor just started? Sleeping %.1fs', sleep_time)
193 time.sleep(sleep_time)
/external/chromium_org/chrome/browser/metrics/
H A Dthread_watcher.h22 // thread. |sleep_time| specifies how often ping messages have to be sent to
33 // base::TimeDelta sleep_time = base::TimeDelta::FromSeconds(5);
39 // BrowserThread::IO, "IO", sleep_time, unresponsive_time,
78 const base::TimeDelta& sleep_time; member in struct:ThreadWatcher::WatchingParams
93 sleep_time(sleep_time_in),
103 // |sleep_time| is the wait time between ping messages. |unresponsive_time| is
123 base::TimeDelta sleep_time() const { return sleep_time_; } function in class:ThreadWatcher
138 // Construct a ThreadWatcher for the given |thread_id|. |sleep_time| is the
456 const base::TimeDelta& sleep_time,
H A Dthread_watcher.cc137 sleep_time_(params.sleep_time),
160 DCHECK_GE(params.sleep_time.InMilliseconds(), 0);
162 params.sleep_time.InMilliseconds());
696 const base::TimeDelta& sleep_time,
715 sleep_time,
693 StartWatching( const BrowserThread::ID& thread_id, const std::string& thread_name, const base::TimeDelta& sleep_time, const base::TimeDelta& unresponsive_time, uint32 unresponsive_threshold, const CrashOnHangThreadMap& crash_on_hang_threads) argument
H A Dthread_watcher_unittest.cc75 const TimeDelta& sleep_time,
77 : ThreadWatcher(WatchingParams(thread_id, thread_name, sleep_time,
441 EXPECT_EQ(kSleepTime, io_watcher_->sleep_time());
448 EXPECT_EQ(kSleepTime, db_watcher_->sleep_time());
73 CustomThreadWatcher(const BrowserThread::ID thread_id, const std::string thread_name, const TimeDelta& sleep_time, const TimeDelta& unresponsive_time) argument
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
H A Dsysinfo.cc235 struct timespec sleep_time;
236 sleep_time.tv_sec = milliseconds / 1000;
237 sleep_time.tv_nsec = (milliseconds % 1000) * 1000000;
238 while (nanosleep(&sleep_time, &sleep_time) != 0 && errno == EINTR)
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
H A Dsysinfo.cc220 struct timespec sleep_time;
221 sleep_time.tv_sec = milliseconds / 1000;
222 sleep_time.tv_nsec = (milliseconds % 1000) * 1000000;
223 while (nanosleep(&sleep_time, &sleep_time) != 0 && errno == EINTR)
/external/chromium_org/v8/tools/
H A Dgenerate-runtime-tests.py1133 sleep_time = INITIAL_SLEEP_TIME
1142 time.sleep(sleep_time)
1143 sleep_time = sleep_time * SLEEP_TIME_FACTOR
1144 if sleep_time > MAX_SLEEP_TIME:
1145 sleep_time = MAX_SLEEP_TIME
/external/lldb/tools/darwin-threads/
H A Dexamine-threads.c444 if (basic_info->sleep_time > 0)
445 printf (", this thread has slept for %d seconds", basic_info->sleep_time);
/external/lldb/tools/debugserver/source/MacOSX/
H A DMachThread.cpp199 snprintf(g_basic_info_string, sizeof(g_basic_info_string), "Thread 0x%8.8" PRIx64 ": user=%f system=%f cpu=%d sleep_time=%d",
204 basicInfo.sleep_time);
363 DNBLogThreaded("[%3u] #%3u tid: 0x%8.8" PRIx64 ", pc: 0x%16.16" PRIx64 ", sp: 0x%16.16" PRIx64 ", user: %d.%6.6d, system: %d.%6.6d, cpu: %2d, policy: %2d, run_state: %2d (%s), flags: %2d, suspend_count: %2d (current %2d), sleep_time: %d",
377 m_basic_info.sleep_time);
/external/srec/srec/test/SRecTest/src/
H A DSRecTest.c1593 LCHAR sleep_time [P_PATH_MAX]; local
1597 sleep_status = srec_test_get_one_command_item ( command_text, P_PATH_MAX, sleep_time, NULL );
1601 convert_string_to_num = lstrtoi ( sleep_time, &time_as_number, 10 );
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dheap-checker.cc2308 const struct timespec sleep_time = { 0, 500000000 }; // 500 ms local
2309 nanosleep(&sleep_time, NULL);
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dheap-checker.cc2307 const struct timespec sleep_time = { 0, 500000000 }; // 500 ms local
2308 nanosleep(&sleep_time, NULL);

Completed in 451 milliseconds