Searched refs:sleep_time (Results 1 – 4 of 4) sorted by relevance
51 static int sleep_time = BASE_SLEEP_TIME; variable58 sleep_time = BASE_SLEEP_TIME; in update_sleep_time()62 sleep_time = MIN(sleep_time * 2, MAX_SLEEP_TIME); in update_sleep_time()70 usleep(sleep_time); in suspend_thread_func()
45 auto sleep_time = 200ms; in TEST() local46 std::this_thread::sleep_for(sleep_time); in TEST()49 EXPECT_NEAR((duration - sleep_time).count(), expire_time.count(), in TEST()
400 int64_t sleep_time = bytes * 1000000LL / in out_write() local404 if (sleep_time > 0) { in out_write()405 LOG(VERBOSE) << __func__ << ": sleep " << (sleep_time / 1000) in out_write()408 usleep(sleep_time); in out_write()413 sleep_time = 0; in out_write()415 out->last_write_time_us_ = now + sleep_time; in out_write()
834 static const unsigned sleep_time = sndtimeo + 3; in TEST() local835 static const unsigned alarm_time = sleep_time + 5; in TEST()863 sleep(sleep_time); in TEST()