Searched refs:idle_time (Results 1 – 10 of 10) sorted by relevance
/third_party/libuv/test/ |
D | test-metrics.c | 42 uint64_t idle_time; in TEST_IMPL() local 55 idle_time = uv_metrics_idle_time(uv_default_loop()); in TEST_IMPL() 58 ASSERT((idle_time <= (timeout + 500) * UV_NS_TO_MS) && in TEST_IMPL() 59 (idle_time >= (timeout - 500) * UV_NS_TO_MS)); in TEST_IMPL() 70 uint64_t idle_time; in metrics_routine_cb() local 84 idle_time = uv_metrics_idle_time(&loop); in metrics_routine_cb() 90 ASSERT_GE(idle_time, (timeout - 500) * UV_NS_TO_MS); in metrics_routine_cb()
|
/third_party/libcoap/include/coap3/ |
D | coap_cache.h | 154 unsigned int idle_time);
|
/third_party/ninja/src/ |
D | util.cc | 544 FILETIME idle_time, kernel_time, user_time; in GetLoadAverage() local 546 GetSystemTimes(&idle_time, &kernel_time, &user_time); in GetLoadAverage() 550 uint64_t idle_ticks = FileTimeToTickCount(idle_time); in GetLoadAverage()
|
/third_party/libuv/src/ |
D | uv-common.c | 959 uint64_t idle_time; in uv_metrics_idle_time() local 963 idle_time = loop_metrics->provider_idle_time; in uv_metrics_idle_time() 968 idle_time += uv_hrtime() - entry_time; in uv_metrics_idle_time() 969 return idle_time; in uv_metrics_idle_time()
|
/third_party/weston/compositor/ |
D | main.c | 3234 int32_t idle_time = -1; in wet_main() local 3261 { WESTON_OPTION_INTEGER, "idle-time", 'i', &idle_time }, in wet_main() 3435 if (idle_time < 0) in wet_main() 3436 weston_config_section_get_int(section, "idle-time", &idle_time, -1); in wet_main() 3437 if (idle_time < 0) in wet_main() 3438 idle_time = 300; /* default idle timeout, in seconds */ in wet_main() 3440 wet.compositor->idle_time = idle_time; in wet_main()
|
/third_party/node/src/ |
D | node_perf.cc | 401 uint64_t idle_time = uv_metrics_idle_time(env->event_loop()); in LoopIdleTime() local 402 args.GetReturnValue().Set(1.0 * idle_time / 1e6); in LoopIdleTime()
|
D | node_report.cc | 301 uint64_t idle_time = uv_metrics_idle_time(env->event_loop()); in WriteNodeReport() local 302 writer.json_keyvalue("loopIdleTimeSeconds", 1.0 * idle_time / 1e9); in WriteNodeReport()
|
D | node_worker.cc | 808 uint64_t idle_time = uv_metrics_idle_time(w->env_->event_loop()); in LoopIdleTime() local 809 args.GetReturnValue().Set(1.0 * idle_time / 1e6); in LoopIdleTime()
|
/third_party/weston/include/libweston/ |
D | libweston.h | 1067 int idle_time; /* timeout, s */ member
|
/third_party/weston/libweston/ |
D | compositor.c | 4907 compositor->idle_time * 1000); in weston_compositor_wake()
|