Home
last modified time | relevance | path

Searched refs:refPeriodSec (Results 1 – 5 of 5) sorted by relevance

/packages/modules/StatsD/statsd/tests/metrics/
DMaxDurationTracker_test.cpp271 const int32_t refPeriodSec = 45; in TEST() local
272 alert.set_refractory_period_secs(refPeriodSec); in TEST()
331 const int32_t refPeriodSec = 45; in TEST() local
332 alert.set_refractory_period_secs(refPeriodSec); in TEST()
359 int64_t refractoryPeriodEndsSec = anomalyFireTimeSec + refPeriodSec; in TEST()
417 const int32_t refPeriodSec = 45; in TEST() local
418 alert.set_refractory_period_secs(refPeriodSec); in TEST()
DOringDurationTracker_test.cpp486 const int32_t refPeriodSec = 45; in TEST() local
487 alert.set_refractory_period_secs(refPeriodSec); in TEST()
524 std::ceil((eventStartTimeNs + 2 * bucketSizeNs + 25.0) / NS_PER_SEC + refPeriodSec)); in TEST()
537 const int32_t refPeriodSec = 45; in TEST() local
538 alert.set_refractory_period_secs(refPeriodSec); in TEST()
589 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(eventKey), 62U + refPeriodSec); in TEST()
593 EXPECT_EQ(anomalyTracker->getRefractoryPeriodEndsSec(eventKey), 62U + refPeriodSec); in TEST()
DCountMetricProducer_test.cpp463 const int32_t refPeriodSec = 1; in TEST() local
464 alert.set_refractory_period_secs(refPeriodSec); in TEST()
522 std::ceil(1.0 * event5.GetElapsedTimestampNs() / NS_PER_SEC + refPeriodSec)); in TEST()
528 std::ceil(1.0 * event7.GetElapsedTimestampNs() / NS_PER_SEC + refPeriodSec)); in TEST()
DGaugeMetricProducer_test.cpp608 const int32_t refPeriodSec = 60; in TEST() local
609 alert.set_refractory_period_secs(refPeriodSec); in TEST()
638 std::ceil(1.0 * event2->GetElapsedTimestampNs() / NS_PER_SEC) + refPeriodSec); in TEST()
651 std::ceil(1.0 * event2->GetElapsedTimestampNs() / NS_PER_SEC + refPeriodSec)); in TEST()
DNumericValueMetricProducer_test.cpp984 const int32_t refPeriodSec = 3; in TEST() local
985 alert.set_refractory_period_secs(refPeriodSec); in TEST()
1038 std::ceil(1.0 * event4.GetElapsedTimestampNs() / NS_PER_SEC + refPeriodSec)); in TEST()
1042 std::ceil(1.0 * event4.GetElapsedTimestampNs() / NS_PER_SEC + refPeriodSec)); in TEST()
1047 std::ceil(1.0 * event6.GetElapsedTimestampNs() / NS_PER_SEC + refPeriodSec)); in TEST()
1057 const int32_t refPeriodSec = 3; in TEST() local
1058 alert.set_refractory_period_secs(refPeriodSec); in TEST()