/external/chromium/base/threading/ |
platform_thread_posix.cc | 142 struct timespec sleep_time, remaining; local 145 sleep_time.tv_sec = duration_ms / 1000; 146 duration_ms -= sleep_time.tv_sec * 1000; 149 sleep_time.tv_nsec = duration_ms * 1000 * 1000; // nanoseconds. 151 while (nanosleep(&sleep_time, &remaining) == -1 && errno == EINTR) 152 sleep_time = remaining;
|
/external/chromium/chrome/browser/metrics/ |
thread_watcher.h | 22 // sleep_time specifies how often ping messages have to be sent to IO thread. 26 // base::TimeDelta sleep_time = base::TimeDelta::FromSeconds(5); 28 // ThreadWatcher::StartWatching(BrowserThread::IO, "IO", sleep_time, 60 // sleep_time and unresponsive_time. sleep_time_ is the wait time between ping 67 const base::TimeDelta& sleep_time, 77 base::TimeDelta sleep_time() const { return sleep_time_; } function in class:ThreadWatcher 97 const base::TimeDelta& sleep_time,
|
thread_watcher.cc | 21 const base::TimeDelta& sleep_time, 25 sleep_time_(sleep_time), 41 const base::TimeDelta& sleep_time, 43 DCHECK_GE(sleep_time.InMilliseconds(), 0); 44 DCHECK_GE(unresponsive_time.InMilliseconds(), sleep_time.InMilliseconds()); 53 thread_id, thread_name, sleep_time, unresponsive_time)); 61 new ThreadWatcher(thread_id, thread_name, sleep_time, unresponsive_time);
|
thread_watcher_unittest.cc | 65 const TimeDelta& sleep_time, 67 : ThreadWatcher(thread_id, thread_name, sleep_time, unresponsive_time), 296 EXPECT_EQ(kSleepTime, io_watcher_->sleep_time()); 303 EXPECT_EQ(kSleepTime, webkit_watcher_->sleep_time());
|
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/ |
websocket_server.py | 72 sleep_time = 0.5 81 # Wait for sleep_time before trying again. 82 wait_time -= sleep_time 83 time.sleep(sleep_time)
|
/external/v8/tools/ |
test.py | 498 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 [all...] |
/external/srec/srec/test/SRecTest/src/ |
SRecTest.c | 1593 LCHAR sleep_time [P_PATH_MAX]; local [all...] |