Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/src/metrics/
DValueMetricProducer.cpp622 if (mCurrentFullBucket.find(newKey) != mCurrentFullBucket.end()) { in hitFullBucketGuardRailLocked()
625 if (mCurrentFullBucket.size() > mDimensionSoftLimit - 1) { in hitFullBucketGuardRailLocked()
626 size_t newTupleCount = mCurrentFullBucket.size() + 1; in hitFullBucketGuardRailLocked()
810 auto prev = mCurrentFullBucket.find(eventKey); in onMatchedLogEventInternalLocked()
811 if (prev != mCurrentFullBucket.end()) { in onMatchedLogEventInternalLocked()
948 mCurrentFullBucket.clear(); in appendToFullBucket()
956 if (mCurrentFullBucket.size() > 0) { in appendToFullBucket()
964 mCurrentFullBucket[slice.first] += interval.value.long_value; in appendToFullBucket()
967 for (const auto& slice : mCurrentFullBucket) { in appendToFullBucket()
974 mCurrentFullBucket.clear(); in appendToFullBucket()
[all …]
DValueMetricProducer.h170 std::unordered_map<MetricDimensionKey, int64_t> mCurrentFullBucket; variable
/frameworks/base/cmds/statsd/tests/metrics/
DValueMetricProducer_test.cpp2603 ASSERT_EQ(0UL, valueProducer->mCurrentFullBucket.size()); in TEST()
2606 ASSERT_EQ(1UL, valueProducer->mCurrentFullBucket.size()); in TEST()
2611 ASSERT_EQ(0UL, valueProducer->mCurrentFullBucket.size()); in TEST()