Searched refs:idle_time (Results 1 – 2 of 2) sorted by relevance
56 uint64_t idle_time; in TEST_IMPL() local69 idle_time = uv_metrics_idle_time(uv_default_loop()); in TEST_IMPL()72 ASSERT_LE(idle_time, (timeout + 500) * UV_NS_TO_MS); in TEST_IMPL()73 ASSERT_GE(idle_time, (timeout - 500) * UV_NS_TO_MS); in TEST_IMPL()84 uint64_t idle_time; in metrics_routine_cb() local98 idle_time = uv_metrics_idle_time(&loop); in metrics_routine_cb()104 ASSERT_GE(idle_time, (timeout - 500) * UV_NS_TO_MS); in metrics_routine_cb()
1040 uint64_t idle_time; in uv_metrics_idle_time() local1044 idle_time = loop_metrics->provider_idle_time; in uv_metrics_idle_time()1049 idle_time += uv_hrtime() - entry_time; in uv_metrics_idle_time()1050 return idle_time; in uv_metrics_idle_time()
Completed in 7 milliseconds