Home
last modified time | relevance | path

Searched refs:sleep_time (Results 1 – 7 of 7) sorted by relevance

/external/chromium/base/threading/
Dplatform_thread_posix.cc142 struct timespec sleep_time, remaining; in Sleep() local
145 sleep_time.tv_sec = duration_ms / 1000; in Sleep()
146 duration_ms -= sleep_time.tv_sec * 1000; in Sleep()
149 sleep_time.tv_nsec = duration_ms * 1000 * 1000; // nanoseconds. in Sleep()
151 while (nanosleep(&sleep_time, &remaining) == -1 && errno == EINTR) in Sleep()
152 sleep_time = remaining; in Sleep()
/external/chromium/chrome/browser/metrics/
Dthread_watcher.cc21 const base::TimeDelta& sleep_time, in ThreadWatcher() argument
25 sleep_time_(sleep_time), in ThreadWatcher()
41 const base::TimeDelta& sleep_time, in StartWatching() argument
43 DCHECK_GE(sleep_time.InMilliseconds(), 0); in StartWatching()
44 DCHECK_GE(unresponsive_time.InMilliseconds(), sleep_time.InMilliseconds()); in StartWatching()
53 thread_id, thread_name, sleep_time, unresponsive_time)); in StartWatching()
61 new ThreadWatcher(thread_id, thread_name, sleep_time, unresponsive_time); in StartWatching()
Dthread_watcher.h67 const base::TimeDelta& sleep_time,
77 base::TimeDelta sleep_time() const { return sleep_time_; } in sleep_time() function
97 const base::TimeDelta& sleep_time,
Dthread_watcher_unittest.cc65 const TimeDelta& sleep_time, in CustomThreadWatcher() argument
67 : ThreadWatcher(thread_id, thread_name, sleep_time, unresponsive_time), in CustomThreadWatcher()
296 EXPECT_EQ(kSleepTime, io_watcher_->sleep_time()); in TEST_F()
303 EXPECT_EQ(kSleepTime, webkit_watcher_->sleep_time()); in TEST_F()
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/
Dwebsocket_server.py72 sleep_time = 0.5
82 wait_time -= sleep_time
83 time.sleep(sleep_time)
/external/v8/tools/
Dtest.py498 sleep_time = INITIAL_SLEEP_TIME
507 time.sleep(sleep_time)
508 sleep_time = sleep_time * SLEEP_TIME_FACTOR
509 if sleep_time > MAX_SLEEP_TIME:
510 sleep_time = MAX_SLEEP_TIME
/external/srec/srec/test/SRecTest/src/
DSRecTest.c1593 LCHAR sleep_time [P_PATH_MAX]; in srec_test_sleep() local
1597 sleep_status = srec_test_get_one_command_item ( command_text, P_PATH_MAX, sleep_time, NULL ); in srec_test_sleep()
1601 convert_string_to_num = lstrtoi ( sleep_time, &time_as_number, 10 ); in srec_test_sleep()