Searched refs:pastNs (Results 1 – 1 of 1) sorted by relevance
341 int64_t pastNs = currentBucketPastNs + anomalyTracker.getSumOverPastBuckets(mEventKey); in predictAnomalyTimestampNs() local350 std::max(eventTimestampNs + thresholdNs - pastNs, refractoryPeriodEndNs); in predictAnomalyTimestampNs()358 pastNs -= anomalyTracker.getPastBucketValue( in predictAnomalyTimestampNs()362 pastNs += (currentBucketEndNs - eventTimestampNs); in predictAnomalyTimestampNs()365 pastNs = 0; in predictAnomalyTimestampNs()379 std::max(bucketEndNs - mBucketSizeNs + thresholdNs - pastNs, refractoryPeriodEndNs); in predictAnomalyTimestampNs()389 pastNs += mBucketSizeNs; in predictAnomalyTimestampNs()396 pastNs -= anomalyTracker.getPastBucketValue( in predictAnomalyTimestampNs()400 pastNs -= (currentBucketPastNs + (currentBucketEndNs - eventTimestampNs)); in predictAnomalyTimestampNs()