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.cpp371 for (int futureBucketIdx = 1; futureBucketIdx <= anomalyTracker.getNumOfPastBuckets() + 1; in predictAnomalyTimestampNs() local
372 futureBucketIdx++) { in predictAnomalyTimestampNs()
378 const int64_t bucketEndNs = currentBucketEndNs + futureBucketIdx * mBucketSizeNs; in predictAnomalyTimestampNs()
396 if (futureBucketIdx < anomalyTracker.getNumOfPastBuckets()) { in predictAnomalyTimestampNs()
399 mCurrentBucketNum - anomalyTracker.getNumOfPastBuckets() + futureBucketIdx); in predictAnomalyTimestampNs()
400 } else if (futureBucketIdx == anomalyTracker.getNumOfPastBuckets()) { in predictAnomalyTimestampNs()