Searched refs:pastNs (Results 1 – 1 of 1) sorted by relevance
392 int64_t pastNs = currentStateBucketPastNs + anomalyTracker.getSumOverPastBuckets(mEventKey); in predictAnomalyTimestampNs() local401 std::max(eventTimestampNs + thresholdNs - pastNs, refractoryPeriodEndNs); in predictAnomalyTimestampNs()409 pastNs -= anomalyTracker.getPastBucketValue( in predictAnomalyTimestampNs()413 pastNs += (currentBucketEndNs - eventTimestampNs); in predictAnomalyTimestampNs()416 pastNs = 0; in predictAnomalyTimestampNs()430 std::max(bucketEndNs - mBucketSizeNs + thresholdNs - pastNs, refractoryPeriodEndNs); in predictAnomalyTimestampNs()440 pastNs += mBucketSizeNs; in predictAnomalyTimestampNs()447 pastNs -= anomalyTracker.getPastBucketValue( in predictAnomalyTimestampNs()451 pastNs -= (currentStateBucketPastNs + (currentBucketEndNs - eventTimestampNs)); in predictAnomalyTimestampNs()