Home
last modified time | relevance | path

Searched refs:matcher_stats (Results 1 – 4 of 4) sorted by relevance

/packages/modules/StatsD/statsd/tests/guardrail/
DStatsdStats_test.cpp164 if (configReport.matcher_stats(0).id() == StringToId("matcher1")) { in TEST()
165 EXPECT_EQ(2, configReport.matcher_stats(0).matched_times()); in TEST()
166 EXPECT_EQ(1, configReport.matcher_stats(1).matched_times()); in TEST()
167 EXPECT_EQ(StringToId("matcher2"), configReport.matcher_stats(1).id()); in TEST()
170 EXPECT_EQ(1, configReport.matcher_stats(0).matched_times()); in TEST()
171 EXPECT_EQ(StringToId("matcher2"), configReport.matcher_stats(0).id()); in TEST()
173 EXPECT_EQ(2, configReport.matcher_stats(1).matched_times()); in TEST()
174 EXPECT_EQ(StringToId("matcher1"), configReport.matcher_stats(1).id()); in TEST()
205 EXPECT_EQ(StringToId("matcher99"), configReport2.matcher_stats(0).id()); in TEST()
206 EXPECT_EQ(1, configReport2.matcher_stats(0).matched_times()); in TEST()
/packages/modules/StatsD/statsd/src/guardrail/
DStatsdStats.cpp378 statsIt->second->matcher_stats[id]++; in noteMatcherMatched()
620 config.second->matcher_stats.clear(); in resetInternalLocked()
750 for (const auto& stats : pair.second->matcher_stats) { in dumpStats()
928 for (const auto& pair : configStats.matcher_stats) { in addConfigStatsToProto()
DStatsdStats.h58 std::map<const int64_t, int> matcher_stats; member
/packages/modules/StatsD/statsd/src/
Dstats_log.proto411 repeated MatcherStats matcher_stats = 13; field