Home
last modified time | relevance | path

Searched refs:eventStopTimeNs (Results 1 – 2 of 2) sorted by relevance

/packages/modules/StatsD/statsd/tests/metrics/
DMaxDurationTracker_test.cpp224 int64_t eventStopTimeNs = conditionStops2 + 8 * NS_PER_SEC; in TEST() local
241 tracker.noteStop(key1, eventStopTimeNs, false); in TEST()
364 int64_t eventStopTimeNs = anomalyFireTimeSec * NS_PER_SEC + 10; in TEST() local
365 tracker.noteStop(key1, eventStopTimeNs, false); in TEST()
366 tracker.noteStop(key2, eventStopTimeNs, false); in TEST()
367 tracker.noteStart(key1, true, eventStopTimeNs + 1000000, conditionKey1, in TEST()
375 tracker.noteStop(key1, eventStopTimeNs + 2000000, false); in TEST()
DOringDurationTracker_test.cpp448 int64_t eventStopTimeNs = eventStartTimeNs + thresholdNs + NS_PER_SEC; in TEST() local
449 tracker.noteStop(DEFAULT_DIMENSION_KEY, eventStopTimeNs, false); in TEST()
453 EXPECT_EQ(eventStopTimeNs / (int64_t)NS_PER_SEC + alert.refractory_period_secs(), in TEST()
457 int64_t event2StartTimeNs = eventStopTimeNs + bucketSizeNs; in TEST()