Lines Matching defs:metrics
134 fuchsia_minfs_Metrics metrics;
135 ASSERT_EQ(fuchsia_minfs_MinfsGetMetrics(caller.borrow_channel(), &status, &metrics),
141 bool GetMetrics(fuchsia_minfs_Metrics* metrics) {
147 ASSERT_EQ(fuchsia_minfs_MinfsGetMetrics(caller.borrow_channel(), &status, metrics),
153 // Validate that Minfs metrics are functioning correctly.
160 fuchsia_minfs_Metrics metrics;
161 ASSERT_TRUE(GetMetrics(&metrics));
163 ASSERT_EQ(metrics.create_calls, 0);
164 ASSERT_EQ(metrics.create_calls_success, 0);
170 ASSERT_TRUE(GetMetrics(&metrics));
171 ASSERT_EQ(metrics.create_calls, 1);
172 ASSERT_EQ(metrics.create_calls_success, 1);
176 ASSERT_TRUE(GetMetrics(&metrics));
177 ASSERT_EQ(metrics.create_calls, 2);
178 ASSERT_EQ(metrics.create_calls_success, 1);