Home
last modified time | relevance | path

Searched refs:eventElapsedTimeNs (Results 1 – 4 of 4) sorted by relevance

/packages/modules/StatsD/statsd/tests/utils/
DDbUtils_test.cpp71 int64_t eventElapsedTimeNs = 10000000000; in TEST_F() local
73 AStatsEvent* statsEvent = makeAStatsEvent(tagId, eventElapsedTimeNs + 10); in TEST_F()
89 EXPECT_THAT(rows[0], ElementsAre("1", to_string(eventElapsedTimeNs + 10), _, "test_string")); in TEST_F()
97 int64_t eventElapsedTimeNs = 10000000000; in TEST_F() local
99 AStatsEvent* statsEvent = makeAStatsEvent(tagId, eventElapsedTimeNs + 10); in TEST_F()
115 EXPECT_THAT(rows[0], ElementsAre("1", to_string(eventElapsedTimeNs + 10), _, in TEST_F()
124 int64_t eventElapsedTimeNs = 10000000000; in TEST_F() local
127 AStatsEvent* statsEvent = makeAStatsEvent(tagId, eventElapsedTimeNs + 10); in TEST_F()
143 EXPECT_THAT(rows[0], ElementsAre("1", to_string(eventElapsedTimeNs + 10), _, "111")); in TEST_F()
151 int64_t eventElapsedTimeNs = 10000000000; in TEST_F() local
[all …]
/packages/modules/StatsD/statsd/src/metrics/
DNumericValueMetricProducer.cpp245 int64_t eventElapsedTimeNs) { in accumulateEvents() argument
246 if (isEventLateLocked(eventElapsedTimeNs)) { in accumulateEvents()
248 (long long)eventElapsedTimeNs, (long long)mCurrentBucketStartTimeNs); in accumulateEvents()
250 invalidateCurrentBucket(eventElapsedTimeNs, BucketDropReason::EVENT_IN_WRONG_BUCKET); in accumulateEvents()
263 invalidateCurrentBucket(eventElapsedTimeNs, BucketDropReason::PULL_DELAYED); in accumulateEvents()
300 eventInfo.first.setElapsedTimestampNs(eventElapsedTimeNs); in accumulateEvents()
309 localCopy.setElapsedTimestampNs(eventElapsedTimeNs); in accumulateEvents()
332 currentValueBucket.conditionTimer.onConditionChanged(false, eventElapsedTimeNs); in accumulateEvents()
345 invalidateCurrentBucket(eventElapsedTimeNs, BucketDropReason::DIMENSION_GUARDRAIL_REACHED); in accumulateEvents()
DNumericValueMetricProducer.h103 int64_t originalPullTimeNs, int64_t eventElapsedTimeNs);
/packages/modules/StatsD/statsd/src/
DStatsLogProcessor.cpp401 const int64_t eventElapsedTimeNs = event->GetElapsedTimestampNs(); in OnLogEvent() local
403 StatsdStats::getInstance().noteAtomLogged(atomId, eventElapsedTimeNs / NS_PER_SEC, in OnLogEvent()
425 resetIfConfigTtlExpiredLocked(eventElapsedTimeNs); in OnLogEvent()