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.cpp357 if (anomalyTracker.getNumOfPastBuckets() > 0) { in predictAnomalyTimestampNs()
360 mCurrentBucketNum - anomalyTracker.getNumOfPastBuckets()); in predictAnomalyTimestampNs()
370 for (int futureBucketIdx = 1; futureBucketIdx <= anomalyTracker.getNumOfPastBuckets() + 1; in predictAnomalyTimestampNs()
383 if (anomalyTracker.getNumOfPastBuckets() <= 0) { in predictAnomalyTimestampNs()
395 if (futureBucketIdx < anomalyTracker.getNumOfPastBuckets()) { in predictAnomalyTimestampNs()
398 mCurrentBucketNum - anomalyTracker.getNumOfPastBuckets() + futureBucketIdx); in predictAnomalyTimestampNs()
399 } else if (futureBucketIdx == anomalyTracker.getNumOfPastBuckets()) { in predictAnomalyTimestampNs()
/frameworks/base/cmds/statsd/src/anomaly/
DAnomalyTracker.h106 inline int getNumOfPastBuckets() const { in getNumOfPastBuckets() function