Home
last modified time | relevance | path

Searched refs:GetElapsedTimestampNs (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/cmds/statsd/src/metrics/
DDurationMetricProducer.cpp676 event.GetElapsedTimestampNs(), conditionKeys); in handleStartEvent()
682 event.GetElapsedTimestampNs(), conditionKeys); in handleStartEvent()
687 dimensionKey, condition, event.GetElapsedTimestampNs(), conditionKeys); in handleStartEvent()
701 int64_t eventTimeNs = event.GetElapsedTimestampNs(); in onMatchedLogEventLocked()
706 flushIfNeededLocked(event.GetElapsedTimestampNs()); in onMatchedLogEventLocked()
712 pair.second->noteStopAll(event.GetElapsedTimestampNs()); in onMatchedLogEventLocked()
731 condIt.second->noteStop(dimensionInWhat, event.GetElapsedTimestampNs(), false); in onMatchedLogEventLocked()
746 internalDimensionKey, event.GetElapsedTimestampNs(), false); in onMatchedLogEventLocked()
DEventMetricProducer.cpp148 (long long)truncateTimestampNsToFiveMinutes(event.GetElapsedTimestampNs())); in onMatchedLogEventInternalLocked()
153 (long long)event.GetElapsedTimestampNs()); in onMatchedLogEventInternalLocked()
DMetricProducer.cpp28 int64_t eventTimeNs = event.GetElapsedTimestampNs(); in onMatchedLogEventLocked()
DValueMetricProducer.cpp307 int64_t realEventTime = allData.at(0)->GetElapsedTimestampNs(); in onDataPulled()
366 int64_t eventTimeNs = event.GetElapsedTimestampNs(); in onMatchedLogEventInternalLocked()
DCountMetricProducer.cpp268 int64_t eventTimeNs = event.GetElapsedTimestampNs(); in onMatchedLogEventInternalLocked()
DMetricsManager.cpp301 int64_t eventTime = event.GetElapsedTimestampNs(); in onLogEvent()
DGaugeMetricProducer.cpp419 int64_t eventTimeNs = event.GetElapsedTimestampNs(); in onMatchedLogEventInternalLocked()
/frameworks/base/cmds/statsd/src/logd/
DLogEvent.h78 inline int64_t GetElapsedTimestampNs() const { return mElapsedTimestampNs; } in GetElapsedTimestampNs() function
/frameworks/base/cmds/statsd/src/
DStatsLogProcessor.cpp187 const int64_t currentTimestampNs = event->GetElapsedTimestampNs(); in OnLogEvent()
227 event->GetTagId(), event->GetElapsedTimestampNs() / NS_PER_SEC); in OnLogEvent()
254 flushIfNecessaryLocked(event->GetElapsedTimestampNs(), pair.first, *(pair.second)); in OnLogEvent()
/frameworks/base/cmds/statsd/benchmark/
Dmetric_util.cpp384 return a->GetElapsedTimestampNs() < b->GetElapsedTimestampNs(); in sortLogEventsByTimestamp()
/frameworks/base/cmds/statsd/tests/metrics/
DCountMetricProducer_test.cpp383 std::ceil(1.0 * event5.GetElapsedTimestampNs() / NS_PER_SEC + refPeriodSec)); in TEST()
389 std::ceil(1.0 * event7.GetElapsedTimestampNs() / NS_PER_SEC + refPeriodSec)); in TEST()
DGaugeMetricProducer_test.cpp475 std::ceil(1.0 * event2->GetElapsedTimestampNs() / NS_PER_SEC) + refPeriodSec); in TEST()
490 std::ceil(1.0 * event2->GetElapsedTimestampNs() / NS_PER_SEC + refPeriodSec)); in TEST()
DValueMetricProducer_test.cpp687 std::ceil(1.0 * event4->GetElapsedTimestampNs() / NS_PER_SEC + refPeriodSec)); in TEST()
691 std::ceil(1.0 * event4->GetElapsedTimestampNs() / NS_PER_SEC + refPeriodSec)); in TEST()
696 std::ceil(1.0 * event6->GetElapsedTimestampNs() / NS_PER_SEC + refPeriodSec)); in TEST()
/frameworks/base/cmds/statsd/tests/
Dstatsd_test_util.cpp477 return a->GetElapsedTimestampNs() < b->GetElapsedTimestampNs(); in sortLogEventsByTimestamp()