Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/src/metrics/duration_helper/
DOringDurationTracker.cpp370 for (int futureBucketIdx = 1; futureBucketIdx <= anomalyTracker.getNumOfPastBuckets() + 1; in predictAnomalyTimestampNs() local
371 futureBucketIdx++) { in predictAnomalyTimestampNs()
377 const int64_t bucketEndNs = currentBucketEndNs + futureBucketIdx * mBucketSizeNs; in predictAnomalyTimestampNs()
395 if (futureBucketIdx < anomalyTracker.getNumOfPastBuckets()) { in predictAnomalyTimestampNs()
398 mCurrentBucketNum - anomalyTracker.getNumOfPastBuckets() + futureBucketIdx); in predictAnomalyTimestampNs()
399 } else if (futureBucketIdx == anomalyTracker.getNumOfPastBuckets()) { in predictAnomalyTimestampNs()