Home
last modified time | relevance | path

Searched refs:metrics_count (Results 1 – 3 of 3) sorted by relevance

/external/pigweed/pw_metric/
Dmetric_service_nanopb.cc44 PW_CHECK_INT_LT(response_.metrics_count, metrics.size()); in Write()
48 response_.metrics[response_.metrics_count]; in Write()
66 response_.metrics_count++; in Write()
70 if (response_.metrics_count == metrics.size()) { in Write()
78 if (response_.metrics_count) { in Flush()
Dmetric_service_pwpb.cc62 metrics_count++; in Write()
65 if (metrics_count == kMaxNumPackedEntries) { in Write()
73 if (metrics_count) { in Flush()
79 metrics_count = 0; in Flush()
90 size_t metrics_count = 0; member in pw::metric::__anon54cb22830111::PwpbMetricWriter
Dmetric_service_nanopb_test.cc58 EXPECT_EQ(5, context.responses()[0].metrics_count); in TEST()
83 EXPECT_EQ(6, context.responses()[0].metrics_count); in TEST()
118 EXPECT_EQ(10, context.responses()[0].metrics_count); in TEST()
119 EXPECT_EQ(2, context.responses()[1].metrics_count); in TEST()
124 for (unsigned i = 0; i < response.metrics_count; ++i) { in TEST()
177 EXPECT_EQ(5, context.responses()[0].metrics_count); in TEST()
195 for (unsigned m = 0; m < response.metrics_count; ++m) { in TEST()