Home
last modified time | relevance | path

Searched refs:loop_metrics (Results 1 – 4 of 4) sorted by relevance

/libuv/src/
H A Duv-common.c965 uv__loop_metrics_t* loop_metrics; in uv__metrics_update_idle_time() local
983 uv_mutex_lock(&loop_metrics->lock); in uv__metrics_update_idle_time()
985 loop_metrics->provider_entry_time = 0; in uv__metrics_update_idle_time()
987 uv_mutex_unlock(&loop_metrics->lock); in uv__metrics_update_idle_time()
992 uv__loop_metrics_t* loop_metrics; in uv__metrics_set_provider_entry_time() local
1000 uv_mutex_lock(&loop_metrics->lock); in uv__metrics_set_provider_entry_time()
1001 loop_metrics->provider_entry_time = now; in uv__metrics_set_provider_entry_time()
1002 uv_mutex_unlock(&loop_metrics->lock); in uv__metrics_set_provider_entry_time()
1016 uv__loop_metrics_t* loop_metrics; in uv_metrics_idle_time() local
1021 uv_mutex_lock(&loop_metrics->lock); in uv_metrics_idle_time()
[all …]
H A Duv-common.h360 (&uv__get_internal_fields(loop)->loop_metrics)
422 uv__loop_metrics_t loop_metrics; member
/libuv/src/unix/
H A Dloop.c45 err = uv_mutex_init(&lfields->loop_metrics.lock); in uv_loop_init()
48 memset(&lfields->loop_metrics.metrics, in uv_loop_init()
50 sizeof(lfields->loop_metrics.metrics)); in uv_loop_init()
120 uv_mutex_destroy(&lfields->loop_metrics.lock); in uv_loop_init()
205 uv_mutex_destroy(&lfields->loop_metrics.lock); in uv__loop_close()
/libuv/src/win/
H A Dcore.c245 err = uv_mutex_init(&lfields->loop_metrics.lock); in uv_loop_init()
248 memset(&lfields->loop_metrics.metrics, in uv_loop_init()
250 sizeof(lfields->loop_metrics.metrics)); in uv_loop_init()
313 uv_mutex_destroy(&lfields->loop_metrics.lock); in uv_loop_init()
370 uv_mutex_destroy(&lfields->loop_metrics.lock); in uv__loop_close()

Completed in 19 milliseconds