Home
last modified time | relevance | path

Searched refs:mAggregatedAtoms (Results 1 – 5 of 5) sorted by relevance

/packages/modules/StatsD/statsd/src/metrics/
DEventMetricProducer.cpp140 mAggregatedAtoms.clear(); in dropDataLocked()
168 mAggregatedAtoms.clear(); in clearPastBucketsLocked()
185 if (!mAggregatedAtoms.empty()) { in onDumpReportLocked()
190 for (const auto& [atomDimensionKey, elapsedTimestampsNs] : mAggregatedAtoms) { in onDumpReportLocked()
211 mAggregatedAtoms.clear(); in onDumpReportLocked()
238 std::vector<int64_t>& aggregatedTimestampsNs = mAggregatedAtoms[key]; in onMatchedLogEventInternalLocked()
DGaugeMetricProducer.cpp344 if (!bucket.mAggregatedAtoms.empty()) { in onDumpReportLocked()
346 bucket.mAggregatedAtoms) { in onDumpReportLocked()
367 (int)bucket.mAggregatedAtoms.size()); in onDumpReportLocked()
673 info.mAggregatedAtoms.clear(); in flushCurrentBucketLocked()
676 vector<int64_t>& elapsedTimestampsNs = info.mAggregatedAtoms[key]; in flushCurrentBucketLocked()
684 info.mAggregatedAtoms); in flushCurrentBucketLocked()
746 for (const auto& [atomDimensionKey, elapsedTimestampsNs] : bucket.mAggregatedAtoms) { in byteSizeLocked()
DEventMetricProducer.h101 std::unordered_map<AtomDimensionKey, std::vector<int64_t>> mAggregatedAtoms; variable
DGaugeMetricProducer.h50 std::unordered_map<AtomDimensionKey, std::vector<int64_t>> mAggregatedAtoms; member
/packages/modules/StatsD/statsd/tests/metrics/
DGaugeMetricProducer_test.cpp166 .mAggregatedAtoms.begin() in TEST()
187 .mAggregatedAtoms.begin() in TEST()
204 .mAggregatedAtoms.begin() in TEST()
488 .mAggregatedAtoms.begin() in TEST()
500 .mAggregatedAtoms.begin() in TEST()
718 ASSERT_EQ(2UL, gaugeProducer.mPastBuckets.begin()->second.back().mAggregatedAtoms.size()); in TEST()
719 auto it = gaugeProducer.mPastBuckets.begin()->second.back().mAggregatedAtoms.begin(); in TEST()
776 ASSERT_EQ(3UL, gaugeProducer.mPastBuckets.begin()->second.back().mAggregatedAtoms.size()); in TEST()
777 auto it = gaugeProducer.mPastBuckets.begin()->second.back().mAggregatedAtoms.begin(); in TEST()
854 ASSERT_EQ(1UL, bucketIt->second.back().mAggregatedAtoms.size()); in TEST()
[all …]