Home
last modified time | relevance | path

Searched refs:getNumOfPastBuckets (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/cmds/statsd/src/metrics/duration_helper/
DOringDurationTracker.cpp358 if (anomalyTracker.getNumOfPastBuckets() > 0) { in predictAnomalyTimestampNs()
361 mCurrentBucketNum - anomalyTracker.getNumOfPastBuckets()); in predictAnomalyTimestampNs()
371 for (int futureBucketIdx = 1; futureBucketIdx <= anomalyTracker.getNumOfPastBuckets() + 1; in predictAnomalyTimestampNs()
384 if (anomalyTracker.getNumOfPastBuckets() <= 0) { in predictAnomalyTimestampNs()
396 if (futureBucketIdx < anomalyTracker.getNumOfPastBuckets()) { in predictAnomalyTimestampNs()
399 mCurrentBucketNum - anomalyTracker.getNumOfPastBuckets() + futureBucketIdx); in predictAnomalyTimestampNs()
400 } else if (futureBucketIdx == anomalyTracker.getNumOfPastBuckets()) { in predictAnomalyTimestampNs()
/frameworks/base/cmds/statsd/src/anomaly/
DAnomalyTracker.h104 inline int getNumOfPastBuckets() const { in getNumOfPastBuckets() function