Home
last modified time | relevance | path

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

/packages/modules/StatsD/statsd/src/metrics/
DMetricProducer.cpp176 bool MetricProducer::evaluateActiveStateLocked(int64_t elapsedTimestampNs) { in evaluateActiveStateLocked() argument
180 elapsedTimestampNs > it.second->ttl_ns + it.second->start_ns) { in evaluateActiveStateLocked()
190 void MetricProducer::flushIfExpire(int64_t elapsedTimestampNs) { in flushIfExpire() argument
195 mIsActive = evaluateActiveStateLocked(elapsedTimestampNs); in flushIfExpire()
197 onActiveStateChangedLocked(elapsedTimestampNs); in flushIfExpire()
201 void MetricProducer::activateLocked(int activationTrackerIndex, int64_t elapsedTimestampNs) { in activateLocked() argument
214 activation->start_ns = elapsedTimestampNs; in activateLocked()
219 onActiveStateChangedLocked(elapsedTimestampNs); in activateLocked()
DMetricProducer.h293 void activate(int activationTrackerIndex, int64_t elapsedTimestampNs) { in activate() argument
295 activateLocked(activationTrackerIndex, elapsedTimestampNs); in activate()
308 void flushIfExpire(int64_t elapsedTimestampNs);
424 void activateLocked(int activationTrackerIndex, int64_t elapsedTimestampNs);
427 bool evaluateActiveStateLocked(int64_t elapsedTimestampNs);
/packages/modules/StatsD/statsd/src/logd/
DLogEvent.cpp94 LogEvent::LogEvent(int64_t wallClockTimestampNs, int64_t elapsedTimestampNs, in LogEvent() argument
97 mElapsedTimestampNs = elapsedTimestampNs; in LogEvent()
DLogEvent.h70 explicit LogEvent(int64_t wallClockTimestampNs, int64_t elapsedTimestampNs,