Home
last modified time | relevance | path

Searched refs:metrics (Results 1 – 11 of 11) sorted by relevance

/libuv/test/
H A Dtest-metrics.c133 uv_metrics_t metrics; in TEST_IMPL() local
157 uv_metrics_t metrics; in close_cb() local
164 last_events_count = metrics.events; in close_cb()
169 uv_metrics_t metrics; in write_cb() local
177 last_events_count = metrics.events; in write_cb()
187 uv_metrics_t metrics; in create_cb() local
209 uv_metrics_t metrics; in prepare_cb() local
246 uv_metrics_t metrics; in fs_prepare_cb() local
251 ASSERT_EQ(metrics.events, metrics.events_waiting); in fs_prepare_cb()
316 uv_metrics_t metrics; in TEST_IMPL() local
[all …]
/libuv/docs/src/
H A Dmetrics.rst7 libuv provides a metrics API to track various internal operations of the event
16 The struct that contains event loop metrics. It is recommended to retrieve
17 these metrics in a :c:type:`uv_prepare_cb` in order to make sure there are
18 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.
H A Dapi.rst35 metrics
/libuv/src/
H A Duv-common.h364 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
H A Duv-common.c1006 int uv_metrics_info(uv_loop_t* loop, uv_metrics_t* metrics) { in uv_metrics_info() argument
1007 memcpy(metrics, in uv_metrics_info()
1008 &uv__get_loop_metrics(loop)->metrics, in uv_metrics_info()
1009 sizeof(*metrics)); in uv_metrics_info()
/libuv/src/unix/
H A Dloop.c48 memset(&lfields->loop_metrics.metrics, in uv_loop_init()
50 sizeof(lfields->loop_metrics.metrics)); in uv_loop_init()
/libuv/src/win/
H A Dcore.c248 memset(&lfields->loop_metrics.metrics, in uv_loop_init()
250 sizeof(lfields->loop_metrics.metrics)); in uv_loop_init()
/libuv/
H A DMakefile.am215 test/test-metrics.c \
H A DCMakeLists.txt588 test/test-metrics.c
H A DChangeLog607 * src: add new metrics APIs (Trevor Norris)
761 * src: fix events/events_waiting metrics counter (Trevor Norris)
/libuv/include/
H A Duv.h1378 UV_EXTERN int uv_metrics_info(uv_loop_t* loop, uv_metrics_t* metrics);

Completed in 58 milliseconds