Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/src/metrics/duration_helper/
DOringDurationTracker.cpp334 const int64_t currentBucketEndNs = getCurrentBucketEndTimeNs(); in predictAnomalyTimestampNs() local
352 if (anomalyTimestampNs <= currentBucketEndNs) { in predictAnomalyTimestampNs()
362 pastNs += (currentBucketEndNs - eventTimestampNs); in predictAnomalyTimestampNs()
377 const int64_t bucketEndNs = currentBucketEndNs + futureBucketIdx * mBucketSizeNs; in predictAnomalyTimestampNs()
400 pastNs -= (currentBucketPastNs + (currentBucketEndNs - eventTimestampNs)); in predictAnomalyTimestampNs()