/external/chromium_org/third_party/sfntly/cpp/src/test/ |
platform_thread.cc | 86 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/ |
platform_thread.cc | 86 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/ |
xdisplaycheck.cc | 24 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/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_org/base/threading/ |
platform_thread_posix.cc | 177 struct timespec sleep_time, remaining; local 182 sleep_time.tv_sec = duration.InSeconds(); 183 duration -= TimeDelta::FromSeconds(sleep_time.tv_sec); 184 sleep_time.tv_nsec = duration.InMicroseconds() * 1000; // nanoseconds 186 while (nanosleep(&sleep_time, &remaining) == -1 && errno == EINTR) 187 sleep_time = remaining;
|
/external/chromium_org/v8/tools/testrunner/local/ |
commands.py | 93 sleep_time = INITIAL_SLEEP_TIME 103 time.sleep(sleep_time) 104 sleep_time = sleep_time * SLEEP_TIME_FACTOR 105 if sleep_time > MAX_SLEEP_TIME: 106 sleep_time = MAX_SLEEP_TIME
|
/external/chromium_org/ppapi/native_client/tools/browser_tester/browsertester/ |
browserprocess.py | 23 def Wait(self, wait_steps, sleep_time): 34 time.sleep(sleep_time)
|
browserlauncher.py | 49 sleep_time = 0.25 57 time.sleep(sleep_time) 58 sleep_time *= 2 92 SLEEP_TIME = float(WAIT_TIME) / WAIT_STEPS 129 self.browser_process.Wait(self.WAIT_STEPS, self.SLEEP_TIME)
|
/external/chromium_org/build/android/ |
adb_logcat_printer.py | 187 sleep_time = 5 - (time.time() - os.path.getctime(base_dir)) 189 sleep_time = 5 190 if sleep_time > 0: 191 logger.warning('Monitor just started? Sleeping %.1fs', sleep_time) 192 time.sleep(sleep_time)
|
/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/chromium_org/chrome/browser/metrics/ |
thread_watcher.h | 22 // 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 452 const base::TimeDelta& sleep_time,
|
thread_watcher_unittest.cc | 74 const TimeDelta& sleep_time, 76 : ThreadWatcher(WatchingParams(thread_id, thread_name, sleep_time, 440 EXPECT_EQ(kSleepTime, io_watcher_->sleep_time()); 447 EXPECT_EQ(kSleepTime, db_watcher_->sleep_time());
|
thread_watcher.cc | 128 sleep_time_(params.sleep_time), 151 DCHECK_GE(params.sleep_time.InMilliseconds(), 0); 153 params.sleep_time.InMilliseconds()); 665 const base::TimeDelta& sleep_time, 684 sleep_time,
|
/external/chromium_org/third_party/tcmalloc/chromium/src/base/ |
sysinfo.cc | 235 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) [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/base/ |
sysinfo.cc | 220 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) [all...] |
/external/chromium_org/chrome/test/automation/ |
proxy_launcher.cc | 580 base::TimeDelta sleep_time = base::TimeDelta::FromMilliseconds( local 584 wait_time += sleep_time) { 588 base::PlatformThread::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...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
heap-checker.cc | 2308 const struct timespec sleep_time = { 0, 500000000 }; \/\/ 500 ms local [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
heap-checker.cc | 2307 const struct timespec sleep_time = { 0, 500000000 }; \/\/ 500 ms local [all...] |