Searched refs:pastNs (Results 1 – 1 of 1) sorted by relevance
372 int64_t pastNs = currentStateBucketPastNs + anomalyTracker.getSumOverPastBuckets(mEventKey); in predictAnomalyTimestampNs() local381 std::max(eventTimestampNs + thresholdNs - pastNs, refractoryPeriodEndNs); in predictAnomalyTimestampNs()389 pastNs -= anomalyTracker.getPastBucketValue( in predictAnomalyTimestampNs()393 pastNs += (currentBucketEndNs - eventTimestampNs); in predictAnomalyTimestampNs()396 pastNs = 0; in predictAnomalyTimestampNs()410 std::max(bucketEndNs - mBucketSizeNs + thresholdNs - pastNs, refractoryPeriodEndNs); in predictAnomalyTimestampNs()420 pastNs += mBucketSizeNs; in predictAnomalyTimestampNs()427 pastNs -= anomalyTracker.getPastBucketValue( in predictAnomalyTimestampNs()431 pastNs -= (currentStateBucketPastNs + (currentBucketEndNs - eventTimestampNs)); in predictAnomalyTimestampNs()