Searched refs:loop_metrics (Results 1 – 4 of 4) sorted by relevance
965 uv__loop_metrics_t* loop_metrics; in uv__metrics_update_idle_time() local983 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() local1000 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() local1021 uv_mutex_lock(&loop_metrics->lock); in uv_metrics_idle_time()[all …]
360 (&uv__get_internal_fields(loop)->loop_metrics)422 uv__loop_metrics_t loop_metrics; member
45 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()
245 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