Lines Matching refs:metrics

133   uv_metrics_t metrics;  in TEST_IMPL()  local
148 ASSERT_OK(uv_metrics_info(uv_default_loop(), &metrics)); in TEST_IMPL()
149 ASSERT_UINT64_EQ(cntr, metrics.loop_count); in TEST_IMPL()
157 uv_metrics_t metrics; in close_cb() local
159 ASSERT_OK(uv_metrics_info(uv_default_loop(), &metrics)); in close_cb()
160 ASSERT_UINT64_EQ(3, metrics.loop_count); in close_cb()
161 ASSERT_UINT64_GT(metrics.events, last_events_count); in close_cb()
164 last_events_count = metrics.events; in close_cb()
169 uv_metrics_t metrics; in write_cb() local
171 ASSERT_OK(uv_metrics_info(uv_default_loop(), &metrics)); in write_cb()
172 ASSERT_UINT64_EQ(2, metrics.loop_count); in write_cb()
173 ASSERT_UINT64_GT(metrics.events, last_events_count); in write_cb()
177 last_events_count = metrics.events; in write_cb()
187 uv_metrics_t metrics; in create_cb() local
189 ASSERT_OK(uv_metrics_info(uv_default_loop(), &metrics)); in create_cb()
191 ASSERT_UINT64_EQ(1, metrics.loop_count); in create_cb()
195 last_events_count = metrics.events; in create_cb()
209 uv_metrics_t metrics; in prepare_cb() local
213 ASSERT_OK(uv_metrics_info(uv_default_loop(), &metrics)); in prepare_cb()
214 ASSERT_UINT64_EQ(0, metrics.loop_count); in prepare_cb()
215 ASSERT_UINT64_EQ(0, metrics.events); in prepare_cb()
246 uv_metrics_t metrics; in fs_prepare_cb() local
248 ASSERT_OK(uv_metrics_info(uv_default_loop(), &metrics)); in fs_prepare_cb()
251 ASSERT_EQ(metrics.events, metrics.events_waiting); in fs_prepare_cb()
316 uv_metrics_t metrics; in TEST_IMPL() local
373 ASSERT_OK(uv_metrics_info(uv_default_loop(), &metrics)); in TEST_IMPL()
377 ASSERT_GE(metrics.events, 7); in TEST_IMPL()
382 ASSERT_GE(metrics.events_waiting, 4); in TEST_IMPL()