Home
last modified time | relevance | path

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

/packages/modules/StatsD/statsd/src/metrics/
DMetricProducer.cpp220 bool MetricProducer::evaluateActiveStateLocked(int64_t elapsedTimestampNs) { in evaluateActiveStateLocked() argument
224 elapsedTimestampNs > it.second->ttl_ns + it.second->start_ns) { in evaluateActiveStateLocked()
234 void MetricProducer::flushIfExpire(int64_t elapsedTimestampNs) { in flushIfExpire() argument
239 const bool isActive = evaluateActiveStateLocked(elapsedTimestampNs); in flushIfExpire()
241 onActiveStateChangedLocked(elapsedTimestampNs, false); in flushIfExpire()
249 void MetricProducer::activateLocked(int activationTrackerIndex, int64_t elapsedTimestampNs) { in activateLocked() argument
262 activation->start_ns = elapsedTimestampNs; in activateLocked()
269 onActiveStateChangedLocked(elapsedTimestampNs, true); in activateLocked()
DMetricProducer.h304 void activate(int activationTrackerIndex, int64_t elapsedTimestampNs) { in activate() argument
306 activateLocked(activationTrackerIndex, elapsedTimestampNs); in activate()
319 void flushIfExpire(int64_t elapsedTimestampNs);
455 void activateLocked(int activationTrackerIndex, int64_t elapsedTimestampNs);
467 bool evaluateActiveStateLocked(int64_t elapsedTimestampNs);
/packages/modules/StatsD/statsd/src/logd/
DLogEvent.h123 explicit LogEvent(int64_t wallClockTimestampNs, int64_t elapsedTimestampNs,
DLogEvent.cpp80 LogEvent::LogEvent(int64_t wallClockTimestampNs, int64_t elapsedTimestampNs, in LogEvent() argument
83 mElapsedTimestampNs = elapsedTimestampNs; in LogEvent()