Searched refs:event2StartTimeNs (Results 1 – 2 of 2) sorted by relevance
/packages/modules/StatsD/statsd/tests/metrics/ |
D | OringDurationTracker_test.cpp | 361 int64_t event2StartTimeNs = eventStartTimeNs + bucketSizeNs + 15; in TEST() local 362 tracker.noteStart(kEventKey1, true, event2StartTimeNs, ConditionKey(), in TEST() 364 EXPECT_EQ((long long)(event2StartTimeNs + alert.trigger_if_sum_gt() - bucket0Duration - in TEST() 366 tracker.predictAnomalyTimestampNs(*anomalyTracker, event2StartTimeNs)); in TEST() 367 tracker.noteStop(kEventKey1, event2StartTimeNs + 1, false); in TEST() 410 int64_t event2StartTimeNs = bucketStartTimeNs + 22 * NS_PER_SEC; in TEST() local 414 tracker.predictAnomalyTimestampNs(*anomalyTracker, event2StartTimeNs)); in TEST() 457 int64_t event2StartTimeNs = eventStopTimeNs + bucketSizeNs; in TEST() local 458 tracker.noteStart(DEFAULT_DIMENSION_KEY, true, event2StartTimeNs, ConditionKey(), in TEST() 460 int64_t event2StopTimeNs = event2StartTimeNs + 4 * NS_PER_SEC; in TEST() [all …]
|
D | MaxDurationTracker_test.cpp | 446 int64_t event2StartTimeNs = bucketStartTimeNs + bucketSizeNs + 1; in TEST() local 463 tracker.noteStart(key1, true, event2StartTimeNs, ConditionKey(), in TEST() 465 tracker.noteStop(key1, event2StartTimeNs + thresholdDurationNs + 1, false); in TEST() 466 tracker.flushIfNeeded(event2StartTimeNs + bucketSizeNs + 1, threshold, &buckets); in TEST()
|