Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/src/external/
DResourceHealthManagerPuller.cpp65 int64_t elapsedTimestampNs = getElapsedRealtimeNs(); in PullInternal() local
78 wallClockTimestampNs, elapsedTimestampNs); in PullInternal()
84 wallClockTimestampNs, elapsedTimestampNs); in PullInternal()
90 elapsedTimestampNs); in PullInternal()
96 elapsedTimestampNs); in PullInternal()
102 wallClockTimestampNs, elapsedTimestampNs); in PullInternal()
DSubsystemSleepStatePuller.cpp193 int64_t elapsedTimestampNs = getElapsedRealtimeNs(); in getIPowerStatsDataLocked() local
198 [&data, &success, wallClockTimestampNs, elapsedTimestampNs] in getIPowerStatsDataLocked()
210 wallClockTimestampNs, elapsedTimestampNs); in getIPowerStatsDataLocked()
263 int64_t elapsedTimestampNs = getElapsedRealtimeNs(); in getIPowerDataLocked() local
266 [&data, wallClockTimestampNs, elapsedTimestampNs] in getIPowerDataLocked()
275 wallClockTimestampNs, elapsedTimestampNs); in getIPowerDataLocked()
289 wallClockTimestampNs, elapsedTimestampNs); in getIPowerDataLocked()
312 [&data, wallClockTimestampNs, elapsedTimestampNs] in getIPowerDataLocked()
324 wallClockTimestampNs, elapsedTimestampNs); in getIPowerDataLocked()
DPowerStatsPuller.cpp93 int64_t elapsedTimestampNs = getElapsedRealtimeNs(); in PullInternal() local
128 [&data, wallClockTimestampNs, elapsedTimestampNs, &resultSuccess] in PullInternal()
145 wallClockTimestampNs, elapsedTimestampNs); in PullInternal()
/frameworks/base/cmds/statsd/src/metrics/
DMetricProducer.cpp88 bool MetricProducer::evaluateActiveStateLocked(int64_t elapsedTimestampNs) { in evaluateActiveStateLocked() argument
92 elapsedTimestampNs > it.second->ttl_ns + it.second->start_ns) { in evaluateActiveStateLocked()
102 void MetricProducer::flushIfExpire(int64_t elapsedTimestampNs) { in flushIfExpire() argument
107 mIsActive = evaluateActiveStateLocked(elapsedTimestampNs); in flushIfExpire()
109 onActiveStateChangedLocked(elapsedTimestampNs); in flushIfExpire()
131 void MetricProducer::activateLocked(int activationTrackerIndex, int64_t elapsedTimestampNs) { in activateLocked() argument
144 activation->start_ns = elapsedTimestampNs; in activateLocked()
149 onActiveStateChangedLocked(elapsedTimestampNs); in activateLocked()
DMetricProducer.h220 void activate(int activationTrackerIndex, int64_t elapsedTimestampNs) { in activate() argument
222 activateLocked(activationTrackerIndex, elapsedTimestampNs); in activate()
243 void flushIfExpire(int64_t elapsedTimestampNs);
261 bool evaluateActiveStateLocked(int64_t elapsedTimestampNs);
263 void activateLocked(int activationTrackerIndex, int64_t elapsedTimestampNs);
DGaugeMetricProducer.cpp285 const int64_t elapsedTimestampNs = in onDumpReportLocked() local
289 (long long)elapsedTimestampNs); in onDumpReportLocked()
/frameworks/base/cmds/statsd/src/logd/
DLogEvent.h85 explicit LogEvent(int32_t tagId, int64_t wallClockTimestampNs, int64_t elapsedTimestampNs);
96 explicit LogEvent(int32_t tagId, int64_t wallClockTimestampNs, int64_t elapsedTimestampNs,
108 explicit LogEvent(int64_t wallClockTimestampNs, int64_t elapsedTimestampNs,
DLogEvent.cpp122 LogEvent::LogEvent(int32_t tagId, int64_t wallClockTimestampNs, int64_t elapsedTimestampNs) { in LogEvent() argument
124 mElapsedTimestampNs = elapsedTimestampNs; in LogEvent()
129 android_log_write_int64(mContext, elapsedTimestampNs); in LogEvent()
134 LogEvent::LogEvent(int32_t tagId, int64_t wallClockTimestampNs, int64_t elapsedTimestampNs, in LogEvent() argument
141 mElapsedTimestampNs = elapsedTimestampNs; in LogEvent()
209 LogEvent::LogEvent(int64_t wallClockTimestampNs, int64_t elapsedTimestampNs, in LogEvent() argument
212 mElapsedTimestampNs = elapsedTimestampNs; in LogEvent()