Searched refs:metrics (Results 1 – 11 of 11) sorted by relevance
133 uv_metrics_t metrics; in TEST_IMPL() local157 uv_metrics_t metrics; in close_cb() local164 last_events_count = metrics.events; in close_cb()169 uv_metrics_t metrics; in write_cb() local177 last_events_count = metrics.events; in write_cb()187 uv_metrics_t metrics; in create_cb() local209 uv_metrics_t metrics; in prepare_cb() local246 uv_metrics_t metrics; in fs_prepare_cb() local251 ASSERT_EQ(metrics.events, metrics.events_waiting); in fs_prepare_cb()316 uv_metrics_t metrics; in TEST_IMPL() local[all …]
7 libuv provides a metrics API to track various internal operations of the event16 The struct that contains event loop metrics. It is recommended to retrieve17 these metrics in a :c:type:`uv_prepare_cb` in order to make sure there are18 no inconsistencies with the metrics counters.67 .. c:function:: int uv_metrics_info(uv_loop_t* loop, uv_metrics_t* metrics)69 Copy the current set of event loop metrics to the ``metrics`` pointer.
35 metrics
364 uv__get_loop_metrics(loop)->metrics.loop_count++; \369 uv__get_loop_metrics(loop)->metrics.events += (e); \374 uv__get_loop_metrics(loop)->metrics.events_waiting += (e); \390 uv_metrics_t metrics; member
1006 int uv_metrics_info(uv_loop_t* loop, uv_metrics_t* metrics) { in uv_metrics_info() argument1007 memcpy(metrics, in uv_metrics_info()1008 &uv__get_loop_metrics(loop)->metrics, in uv_metrics_info()1009 sizeof(*metrics)); in uv_metrics_info()
48 memset(&lfields->loop_metrics.metrics, in uv_loop_init()50 sizeof(lfields->loop_metrics.metrics)); in uv_loop_init()
248 memset(&lfields->loop_metrics.metrics, in uv_loop_init()250 sizeof(lfields->loop_metrics.metrics)); in uv_loop_init()
215 test/test-metrics.c \
588 test/test-metrics.c
607 * src: add new metrics APIs (Trevor Norris)761 * src: fix events/events_waiting metrics counter (Trevor Norris)
1378 UV_EXTERN int uv_metrics_info(uv_loop_t* loop, uv_metrics_t* metrics);
Completed in 33 milliseconds