Searched refs:sleep_ms (Results 1 – 13 of 13) sorted by relevance
33 unsigned int sleep_ms = usec / 1000; in sample_fn() local40 TEST(poll(pfds, 1, sleep_ms)); in sample_fn()
20 static void sleep_ms(const int ms) in sleep_ms() function31 sleep_ms(100); in thread_func()
319 unsigned sleep_ms = 4; in Terminate() local339 usleep(sleep_ms * 1000); in Terminate()341 if (sleep_ms < kMaxSleepMs) in Terminate()342 sleep_ms *= 2; in Terminate()
37 unsigned int sleep_ms = usec / 1000; in sample_fn() local40 TEST(epoll_wait(epfd, epevs, 1, sleep_ms)); in sample_fn()
58 int sleep_ms; member115 ts.tv_nsec = tp->sleep_ms * 1000 * 1000; in thread_fn()118 if (tp->sleep_ms == 0) in thread_fn()
59 int sleep_ms; member118 ts.tv_nsec = tp->sleep_ms * 1000 * 1000; in thread_fn()121 if (tp->sleep_ms == 0) in thread_fn()
57 int sleep_ms; member115 ts.tv_nsec = tp->sleep_ms * 1000 * 1000; in thread_fn()118 if (tp->sleep_ms == 0) in thread_fn()
61 int sleep_ms; member120 ts.tv_nsec = tp->sleep_ms * 1000 * 1000; in thread_fn()125 if (tp->sleep_ms == 0) in thread_fn()
60 int sleep_ms; member120 ts.tv_nsec = tp->sleep_ms * 1000 * 1000; in thread_fn()123 if (tp->sleep_ms == 0) in thread_fn()
59 int sleep_ms; member117 ts.tv_nsec = tp->sleep_ms * 1000 * 1000; in thread_fn()120 if (tp->sleep_ms == 0) in thread_fn()
214 sleep_ms = self.test_kwargs.get('async_connect_sleep_ms', 0)215 logging.info('Sleeping %d ms before connect', sleep_ms)216 gobi_modem.InjectFault('AsyncConnectSleepMs', sleep_ms)
209 int32_t sleep_ms = rtt_ms_ / 2 - elapsed_time_ms; in DispatchPackets() local210 if (sleep_ms > 0) { in DispatchPackets()212 webrtc::SleepMs(sleep_ms); in DispatchPackets()
683 int sleep_ms = without_fds < 10 ? (1 << (without_fds - 1)) : 1000; in easy_transfer() local684 Curl_wait_ms(sleep_ms); in easy_transfer()