Home
last modified time | relevance | path

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

/packages/modules/StatsD/statsd/src/guardrail/
DStatsdStats.cpp304 if (it->second->dump_report_stats.size() == kMaxTimestampCount) { in noteMetricsReportSent()
305 it->second->dump_report_stats.pop_front(); in noteMetricsReportSent()
307 it->second->dump_report_stats.push_back(std::make_pair(timeSec, num_bytes)); in noteMetricsReportSent()
618 config.second->dump_report_stats.clear(); in resetInternalLocked()
744 for (const auto& dump : configStats->dump_report_stats) { in dumpStats()
907 for (const auto& dump : configStats.dump_report_stats) { in addConfigStatsToProto()
913 for (const auto& dump : configStats.dump_report_stats) { in addConfigStatsToProto()
DStatsdStats.h55 std::list<std::pair<int32_t, int64_t>> dump_report_stats; member
/packages/modules/StatsD/statsd/tests/guardrail/
DStatsdStats_test.cpp421 ASSERT_EQ(maxCount, configStats->dump_report_stats.size()); in TEST()
428 EXPECT_EQ(1, configStats->dump_report_stats.front().first); in TEST()
436 EXPECT_EQ(newTimestamp, configStats->dump_report_stats.back().first); in TEST()