Searched refs:thresholdNs (Results 1 – 2 of 2) sorted by relevance
381 const int64_t thresholdNs = anomalyTracker.getAnomalyThreshold(); in predictAnomalyTimestampNs() local401 std::max(eventTimestampNs + thresholdNs - pastNs, refractoryPeriodEndNs); in predictAnomalyTimestampNs()430 std::max(bucketEndNs - mBucketSizeNs + thresholdNs - pastNs, refractoryPeriodEndNs); in predictAnomalyTimestampNs()455 return std::max(eventTimestampNs + thresholdNs, refractoryPeriodEndNs); in predictAnomalyTimestampNs()
421 int64_t thresholdNs = j * bucketSizeNs + 5 * NS_PER_SEC; in TEST() local427 alert.set_trigger_if_sum_gt(thresholdNs); in TEST()446 EXPECT_EQ((long long)(eventStartTimeNs + thresholdNs), in TEST()448 int64_t eventStopTimeNs = eventStartTimeNs + thresholdNs + NS_PER_SEC; in TEST()