Home
last modified time | relevance | path

Searched refs:mCurrentBucketNum (Results 1 – 14 of 14) sorted by relevance

/packages/modules/StatsD/statsd/src/metrics/duration_helper/
DOringDurationTracker.cpp104 timestamp, mCurrentBucketNum, in noteStop()
133 timestamp, mCurrentBucketNum, in noteStopAll()
196 getCurrentStateKeyFullBucketDuration(), mCurrentBucketNum); in flushCurrentBucket()
215 addPastBucketToAnomalyTrackers(mEventKey, info.mDuration, mCurrentBucketNum + i); in flushCurrentBucket()
220 addPastBucketToAnomalyTrackers(mEventKey, 0, mCurrentBucketNum + numBucketsForward - 1); in flushCurrentBucket()
226 mCurrentBucketNum += numBucketsForward; in flushCurrentBucket()
282 timestamp, mCurrentBucketNum, in onSlicedConditionMayChange()
344 timestamp, mCurrentBucketNum, in onConditionChanged()
411 mCurrentBucketNum - anomalyTracker.getNumOfPastBuckets()); in predictAnomalyTimestampNs()
449 mCurrentBucketNum - anomalyTracker.getNumOfPastBuckets() + futureBucketIdx); in predictAnomalyTimestampNs()
DDurationTracker.h89 mCurrentBucketNum(currentBucketNum), in DurationTracker()
168 return mStartTimeNs + (mCurrentBucketNum + 1) * mBucketSizeNs; in getCurrentBucketEndTimeNs()
261 int64_t mCurrentBucketNum; variable
DMaxDurationTracker.cpp223 mCurrentBucketNum += numBucketsForward; in flushCurrentBucket()
/packages/modules/StatsD/statsd/src/metrics/
DCountMetricProducer.cpp400 tracker->detectAndDeclareAnomaly(eventTimeNs, mCurrentBucketNum, mMetricId, eventKey, in onMatchedLogEventInternalLocked()
421 mCurrentBucketNum += numBucketsForward; in flushIfNeededLocked()
484 tracker->addPastBucket(mCurrentFullCounters, mCurrentBucketNum); in flushCurrentBucketLocked()
490 tracker->addPastBucket(mCurrentSlicedCounter, mCurrentBucketNum); in flushCurrentBucketLocked()
DNumericValueMetricProducer.cpp516 tracker->detectAndDeclareAnomaly(eventTimeNs, mCurrentBucketNum, mMetricId, eventKey, in aggregateFields()
598 tracker->addPastBucket(metricDimensionKey, value, mCurrentBucketNum); in appendToFullBucket()
613 mCurrentBucketNum); in appendToFullBucket()
DMetricProducer.h352 return mCurrentBucketNum; in getCurrentBucketNum()
482 return mTimeBaseNs + (mCurrentBucketNum + 1) * mBucketSizeNs; in getCurrentBucketEndTimeNs()
530 int64_t mCurrentBucketNum; variable
DGaugeMetricProducer.cpp605 tracker->detectAndDeclareAnomaly(eventTimeNs, mCurrentBucketNum, mMetricId, in onMatchedLogEventInternalLocked()
654 mCurrentBucketNum += numBucketsForward; in flushIfNeededLocked()
706 tracker->addPastBucket(mCurrentSlicedBucketForAnomaly, mCurrentBucketNum); in flushCurrentBucketLocked()
DDurationMetricProducer.cpp355 mCurrentBucketStartTimeNs, mCurrentBucketNum, mTimeBaseNs, mBucketSizeNs, in createDurationTracker()
360 mCurrentBucketStartTimeNs, mCurrentBucketNum, mTimeBaseNs, mBucketSizeNs, in createDurationTracker()
623 mCurrentBucketNum += numBucketsForward; in flushIfNeededLocked()
DValueMetricProducer.cpp130 mCurrentBucketNum = numBucketsForward; in ValueMetricProducer()
801 mCurrentBucketNum += calcBucketsForwardCount(eventTimeNs); in flushCurrentBucketLocked()
DMetricProducer.cpp63 mCurrentBucketNum(0), in MetricProducer()
/packages/modules/StatsD/statsd/tests/metrics/
DGaugeMetricProducer_test.cpp112 EXPECT_EQ(10, gaugeProducer.mCurrentBucketNum); in TEST()
265 EXPECT_EQ(0L, gaugeProducer.mCurrentBucketNum); in TEST_P()
274 EXPECT_EQ(0L, gaugeProducer.mCurrentBucketNum); in TEST_P()
289 EXPECT_EQ(1L, gaugeProducer.mCurrentBucketNum); in TEST_P()
298 EXPECT_EQ(2L, gaugeProducer.mCurrentBucketNum); in TEST_P()
361 EXPECT_EQ(0L, gaugeProducer.mCurrentBucketNum); in TEST_P()
421 EXPECT_EQ(0L, gaugeProducer.mCurrentBucketNum); in TEST()
DCountMetricProducer_test.cpp83 EXPECT_EQ(10, countProducer.mCurrentBucketNum); in TEST()
548 EXPECT_EQ(4, countProducer.mCurrentBucketNum); in TEST()
DDurationMetricProducer_test.cpp82 EXPECT_EQ(10, durationProducer.mCurrentBucketNum); in TEST()
DNumericValueMetricProducer_test.cpp291 EXPECT_EQ(10, valueProducer->mCurrentBucketNum); in TEST()