Searched refs:pastNs (Results 1 – 1 of 1) sorted by relevance
342 int64_t pastNs = currentBucketPastNs + anomalyTracker.getSumOverPastBuckets(mEventKey); in predictAnomalyTimestampNs() local351 std::max(eventTimestampNs + thresholdNs - pastNs, refractoryPeriodEndNs); in predictAnomalyTimestampNs()359 pastNs -= anomalyTracker.getPastBucketValue( in predictAnomalyTimestampNs()363 pastNs += (currentBucketEndNs - eventTimestampNs); in predictAnomalyTimestampNs()366 pastNs = 0; in predictAnomalyTimestampNs()380 std::max(bucketEndNs - mBucketSizeNs + thresholdNs - pastNs, refractoryPeriodEndNs); in predictAnomalyTimestampNs()390 pastNs += mBucketSizeNs; in predictAnomalyTimestampNs()397 pastNs -= anomalyTracker.getPastBucketValue( in predictAnomalyTimestampNs()401 pastNs -= (currentBucketPastNs + (currentBucketEndNs - eventTimestampNs)); in predictAnomalyTimestampNs()