Searched refs:eventStartTimeNs (Results 1 – 3 of 3) sorted by relevance
/packages/modules/StatsD/statsd/tests/metrics/ |
D | OringDurationTracker_test.cpp | 62 int64_t eventStartTimeNs = bucketStartTimeNs + 1; in TEST() local 69 tracker.noteStart(kEventKey1, true, eventStartTimeNs, ConditionKey(), in TEST() 71 EXPECT_EQ((long long)eventStartTimeNs, tracker.mLastStartTime); in TEST() 72 tracker.noteStart(kEventKey1, true, eventStartTimeNs + 10, ConditionKey(), in TEST() 74 EXPECT_EQ((long long)eventStartTimeNs, tracker.mLastStartTime); in TEST() 76 tracker.noteStop(kEventKey1, eventStartTimeNs + durationTimeNs, false); in TEST() 77 tracker.flushIfNeeded(eventStartTimeNs + bucketSizeNs + 1, emptyThreshold, &buckets); in TEST() 96 int64_t eventStartTimeNs = bucketStartTimeNs + 1; in TEST() local 101 tracker.noteStart(kEventKey1, true, eventStartTimeNs, ConditionKey(), in TEST() 103 tracker.noteStart(kEventKey1, true, eventStartTimeNs + 10, ConditionKey(), in TEST() [all …]
|
D | MaxDurationTracker_test.cpp | 219 int64_t eventStartTimeNs = bucketStartTimeNs + 1 * NS_PER_SEC; in TEST() local 231 tracker.noteStart(key1, false, eventStartTimeNs, conditionKey1, in TEST() 262 int64_t eventStartTimeNs = 13000000000; in TEST() local 280 tracker.noteStart(key1, true, eventStartTimeNs, conditionKey1, in TEST() 286 tracker.noteConditionChanged(key1, false, eventStartTimeNs + 15 * NS_PER_SEC); in TEST() 290 tracker.noteConditionChanged(key1, true, eventStartTimeNs + 25 * NS_PER_SEC); in TEST() 319 int64_t eventStartTimeNs = bucketStartTimeNs + 5 * NS_PER_SEC; // Condition is off at start. in TEST() local 340 tracker.noteStart(key1, false, eventStartTimeNs, conditionKey1, in TEST() 445 int64_t eventStartTimeNs = bucketStartTimeNs + 1; in TEST() local 456 tracker.noteStart(key1, true, eventStartTimeNs, ConditionKey(), in TEST() [all …]
|
D | EventMetricProducer_test.cpp | 70 int64_t eventStartTimeNs = bucketStartTimeNs + 1; in TEST_F() local 107 int64_t eventStartTimeNs = bucketStartTimeNs + 1; in TEST_F() local
|