Lines Matching refs:chrono
55 std::this_thread::sleep_for(std::chrono::milliseconds(sleep_ms)); in SleepAndIncreaseCounter()
59 void VerifyDelayTimeAndSleep(std::chrono::steady_clock::time_point start_time, in VerifyDelayTimeAndSleep()
63 auto end_time = std::chrono::steady_clock::now(); in VerifyDelayTimeAndSleep()
64 auto actual_delay = std::chrono::duration_cast<std::chrono::milliseconds>( in VerifyDelayTimeAndSleep()
72 std::this_thread::sleep_for(std::chrono::milliseconds(task_length_ms)); in VerifyDelayTimeAndSleep()
82 auto start_time = std::chrono::steady_clock::now(); in VerifyMultipleDelayedTasks()
163 std::this_thread::sleep_for(std::chrono::milliseconds(delay_error_ms)); in TEST_F()
179 std::this_thread::sleep_for(std::chrono::milliseconds(delay_error_ms)); in TEST_F()
190 std::this_thread::sleep_for(std::chrono::milliseconds(delay_ms)); in TEST_F()
210 std::chrono::milliseconds(delay_ms + delay_error_ms)); in TEST_F()
213 std::chrono::milliseconds(delay_ms + delay_error_ms)); in TEST_F()
247 std::chrono::milliseconds(delay_ms + delay_error_ms)); in TEST_F()
250 std::chrono::milliseconds(delay_ms + delay_error_ms)); in TEST_F()