Searched refs:mCurrentBucketNum (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/cmds/statsd/src/metrics/duration_helper/ |
D | OringDurationTracker.cpp | 105 detectAndDeclareAnomaly(timestamp, mCurrentBucketNum, mDuration + mDurationFullBucket); in noteStop() 129 detectAndDeclareAnomaly(timestamp, mCurrentBucketNum, mDuration + mDurationFullBucket); in noteStopAll() 173 addPastBucketToAnomalyTrackers(mDurationFullBucket, mCurrentBucketNum); in flushCurrentBucket() 186 addPastBucketToAnomalyTrackers(info.mDuration, mCurrentBucketNum + i); in flushCurrentBucket() 191 addPastBucketToAnomalyTrackers(0, mCurrentBucketNum + numBucketsForward - 1); in flushCurrentBucket() 199 mCurrentBucketNum += numBucketsForward; in flushCurrentBucket() 253 detectAndDeclareAnomaly(timestamp, mCurrentBucketNum, mDuration + mDurationFullBucket); in onSlicedConditionMayChange() 319 detectAndDeclareAnomaly(timestamp, mCurrentBucketNum, mDuration + mDurationFullBucket); in onConditionChanged() 360 mCurrentBucketNum - anomalyTracker.getNumOfPastBuckets()); in predictAnomalyTimestampNs() 398 mCurrentBucketNum - anomalyTracker.getNumOfPastBuckets() + futureBucketIdx); in predictAnomalyTimestampNs()
|
D | DurationTracker.h | 78 mCurrentBucketNum(currentBucketNum), in DurationTracker() 121 return mStartTimeNs + (mCurrentBucketNum + 1) * mBucketSizeNs; in getCurrentBucketEndTimeNs() 167 return mStartTimeNs + (mCurrentBucketNum + 1) * mBucketSizeNs; in getCurrentBucketEndTimeNs() 193 int64_t mCurrentBucketNum; variable
|
D | MaxDurationTracker.cpp | 230 mCurrentBucketNum += numBucketsForward; in flushCurrentBucket()
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | MetricProducer.h | 82 mCurrentBucketNum(0), in MetricProducer() 217 return mCurrentBucketNum; in getCurrentBucketNum() 309 return mTimeBaseNs + (mCurrentBucketNum + 1) * mBucketSizeNs; in getCurrentBucketEndTimeNs() 332 int64_t mCurrentBucketNum; variable
|
D | CountMetricProducer.cpp | 306 tracker->detectAndDeclareAnomaly(eventTimeNs, mCurrentBucketNum, mMetricId, eventKey, in onMatchedLogEventInternalLocked() 327 mCurrentBucketNum += numBucketsForward; in flushIfNeededLocked() 359 tracker->addPastBucket(mCurrentFullCounters, mCurrentBucketNum); in flushCurrentBucketLocked() 365 tracker->addPastBucket(mCurrentSlicedCounter, mCurrentBucketNum); in flushCurrentBucketLocked()
|
D | ValueMetricProducer.cpp | 144 mCurrentBucketNum += numBucketsForward; in ValueMetricProducer() 815 tracker->detectAndDeclareAnomaly(eventTimeNs, mCurrentBucketNum, mMetricId, eventKey, in onMatchedLogEventInternalLocked() 884 mCurrentBucketNum += numBucketsForward; in flushCurrentBucketLocked() 970 tracker->addPastBucket(slice.first, slice.second, mCurrentBucketNum); in appendToFullBucket() 984 mCurrentBucketNum); in appendToFullBucket()
|
D | GaugeMetricProducer.cpp | 505 tracker->detectAndDeclareAnomaly(eventTimeNs, mCurrentBucketNum, mMetricId, in onMatchedLogEventInternalLocked() 553 mCurrentBucketNum += numBucketsForward; in flushIfNeededLocked() 589 tracker->addPastBucket(mCurrentSlicedBucketForAnomaly, mCurrentBucketNum); in flushCurrentBucketLocked()
|
D | DurationMetricProducer.cpp | 167 mDimensionsInCondition, mNested, mCurrentBucketStartTimeNs, mCurrentBucketNum, in createDurationTracker() 173 mDimensionsInCondition, mNested, mCurrentBucketStartTimeNs, mCurrentBucketNum, in createDurationTracker() 610 mCurrentBucketNum += numBucketsForward; in flushIfNeededLocked()
|
/frameworks/base/cmds/statsd/tests/metrics/ |
D | GaugeMetricProducer_test.cpp | 86 EXPECT_EQ(10, gaugeProducer.mCurrentBucketNum); in TEST() 229 EXPECT_EQ(0L, gaugeProducer.mCurrentBucketNum); in TEST() 240 EXPECT_EQ(0L, gaugeProducer.mCurrentBucketNum); in TEST() 253 EXPECT_EQ(1L, gaugeProducer.mCurrentBucketNum); in TEST() 265 EXPECT_EQ(2L, gaugeProducer.mCurrentBucketNum); in TEST() 323 EXPECT_EQ(0L, gaugeProducer.mCurrentBucketNum); in TEST() 390 EXPECT_EQ(0L, gaugeProducer.mCurrentBucketNum); in TEST()
|
D | CountMetricProducer_test.cpp | 49 EXPECT_EQ(10, countProducer.mCurrentBucketNum); in TEST()
|
D | DurationMetricProducer_test.cpp | 55 EXPECT_EQ(10, durationProducer.mCurrentBucketNum); in TEST()
|
D | ValueMetricProducer_test.cpp | 205 EXPECT_EQ(10, valueProducer.mCurrentBucketNum); in TEST()
|