Home
last modified time | relevance | path

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

/packages/modules/StatsD/statsd/src/
DStatsLogProcessor.cpp397 void StatsLogProcessor::OnLogEvent(LogEvent* event, int64_t elapsedRealtimeNs) { in OnLogEvent() argument
446 MillisToNano(mNextAnomalyAlarmTime) <= elapsedRealtimeNs) { in OnLogEvent()
448 VLOG("informing anomaly alarm at time %lld", (long long)elapsedRealtimeNs); in OnLogEvent()
453 informAnomalyAlarmFiredLocked(NanoToMillis(elapsedRealtimeNs)); in OnLogEvent()
456 const int64_t curTimeSec = NanoToSeconds(elapsedRealtimeNs); in OnLogEvent()
462 flushRestrictedDataIfNecessaryLocked(elapsedRealtimeNs); in OnLogEvent()
463 enforceDataTtlsIfNecessaryLocked(getWallClockNs(), elapsedRealtimeNs); in OnLogEvent()
464 enforceDbGuardrailsIfNecessaryLocked(getWallClockNs(), elapsedRealtimeNs); in OnLogEvent()
508 if (elapsedRealtimeNs - lastBroadcastTime->second < in OnLogEvent()
519 mLastActivationBroadcastTimes[uid] = elapsedRealtimeNs; in OnLogEvent()
[all …]
DStatsLogProcessor.h86 const int64_t elapsedRealtimeNs, int64_t wallClockNs);
116 void EnforceDataTtls(const int64_t wallClockNs, int64_t elapsedRealtimeNs);
227 void OnLogEvent(LogEvent* event, int64_t elapsedRealtimeNs);
251 const DumpLatency dumpLatency, int64_t elapsedRealtimeNs,
269 const int64_t elapsedRealtimeNs);
272 void enforceDataTtlsLocked(const int64_t wallClockNs, int64_t elapsedRealtimeNs);
276 const int64_t elapsedRealtimeNs);
323 void flushRestrictedDataLocked(const int64_t elapsedRealtimeNs);
325 void flushRestrictedDataIfNecessaryLocked(const int64_t elapsedRealtimeNs);
DStatsService.cpp1068 int64_t elapsedRealtimeNs = getElapsedRealtimeNs(); in informDeviceShutdown() local
1070 mProcessor->WriteDataToDisk(DEVICE_SHUTDOWN, FAST, elapsedRealtimeNs, wallClockNs); in informDeviceShutdown()
1071 mProcessor->SaveActiveConfigsToDisk(elapsedRealtimeNs); in informDeviceShutdown()
1072 mProcessor->SaveMetadataToDisk(wallClockNs, elapsedRealtimeNs); in informDeviceShutdown()
1139 int64_t elapsedRealtimeNs = getElapsedRealtimeNs(); in Startup() local
1141 mProcessor->LoadMetadataFromDisk(wallClockNs, elapsedRealtimeNs); in Startup()
1142 mProcessor->EnforceDataTtls(wallClockNs, elapsedRealtimeNs); in Startup()
1158 int64_t elapsedRealtimeNs = getElapsedRealtimeNs(); in Terminate() local
1160 mProcessor->WriteDataToDisk(TERMINATION_SIGNAL_RECEIVED, FAST, elapsedRealtimeNs, in Terminate()
1162 mProcessor->SaveActiveConfigsToDisk(elapsedRealtimeNs); in Terminate()
[all …]
/packages/modules/StatsD/statsd/src/metrics/
DNumericValueMetricProducer.cpp254 const int64_t elapsedRealtimeNs = getElapsedRealtimeNs(); in accumulateEvents() local
255 const int64_t pullDelayNs = elapsedRealtimeNs - originalPullTimeNs; in accumulateEvents()