Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/src/metrics/
DMetricProducer.cpp141 bool MetricProducer::evaluateActiveStateLocked(int64_t elapsedTimestampNs) { in evaluateActiveStateLocked() argument
145 elapsedTimestampNs > it.second->ttl_ns + it.second->start_ns) { in evaluateActiveStateLocked()
155 void MetricProducer::flushIfExpire(int64_t elapsedTimestampNs) { in flushIfExpire() argument
160 mIsActive = evaluateActiveStateLocked(elapsedTimestampNs); in flushIfExpire()
162 onActiveStateChangedLocked(elapsedTimestampNs); in flushIfExpire()
166 void MetricProducer::activateLocked(int activationTrackerIndex, int64_t elapsedTimestampNs) { in activateLocked() argument
179 activation->start_ns = elapsedTimestampNs; in activateLocked()
184 onActiveStateChangedLocked(elapsedTimestampNs); in activateLocked()
DMetricProducer.h241 void activate(int activationTrackerIndex, int64_t elapsedTimestampNs) { in activate() argument
243 activateLocked(activationTrackerIndex, elapsedTimestampNs); in activate()
256 void flushIfExpire(int64_t elapsedTimestampNs);
356 void activateLocked(int activationTrackerIndex, int64_t elapsedTimestampNs);
359 bool evaluateActiveStateLocked(int64_t elapsedTimestampNs);
/frameworks/base/cmds/statsd/src/logd/
DLogEvent.h70 explicit LogEvent(int64_t wallClockTimestampNs, int64_t elapsedTimestampNs,
DLogEvent.cpp93 LogEvent::LogEvent(int64_t wallClockTimestampNs, int64_t elapsedTimestampNs, in LogEvent() argument
96 mElapsedTimestampNs = elapsedTimestampNs; in LogEvent()