Searched refs:elapsedTimeNs (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/cmds/statsd/src/external/ |
D | StatsPuller.cpp | 41 int64_t elapsedTimeNs = getElapsedRealtimeNs(); in Pull() local 43 const bool shouldUseCache = elapsedTimeNs - mLastPullTimeNs < in Pull() 55 mTagId, (elapsedTimeNs - mLastPullTimeNs) / NS_PER_SEC); in Pull() 58 mLastPullTimeNs = elapsedTimeNs; in Pull() 63 const int64_t pullDurationNs = getElapsedRealtimeNs() - elapsedTimeNs; in Pull()
|
D | StatsCallbackPuller.cpp | 44 int64_t elapsedTimeNs = getElapsedRealtimeNs(); in PullInternal() local 46 Status status = mCallback->pullData(mTagId, elapsedTimeNs, wallClockTimeNs, &returned_value); in PullInternal()
|
D | StatsPullerManager.cpp | 377 void StatsPullerManager::OnAlarmFired(int64_t elapsedTimeNs) { in OnAlarmFired() argument 389 if (receiverInfo.nextPullTimeNs <= elapsedTimeNs) { in OnAlarmFired() 408 pullInfo.first, getElapsedRealtimeNs() - elapsedTimeNs); in OnAlarmFired() 410 VLOG("pull failed at %lld, will try again later", (long long)elapsedTimeNs); in OnAlarmFired() 421 event->setElapsedTimestampNs(elapsedTimeNs); in OnAlarmFired() 428 receiverPtr->onDataPulled(data, pullSuccess, elapsedTimeNs); in OnAlarmFired() 431 (elapsedTimeNs - receiverInfo->nextPullTimeNs) / receiverInfo->intervalNs; in OnAlarmFired()
|
D | StatsPullerManager.h | 72 void OnAlarmFired(int64_t elapsedTimeNs);
|
/frameworks/base/tests/UsageStatsPerfTests/src/com/android/frameworks/perftests/usage/tests/ |
D | UsageStatsDatabasePerfTest.java | 118 long elapsedTimeNs = 0; in runQueryUsageStatsTest() local 119 while (benchmarkState.keepRunning(elapsedTimeNs)) { in runQueryUsageStatsTest() 124 elapsedTimeNs = endTime - startTime; in runQueryUsageStatsTest() 133 long elapsedTimeNs = 0; in runPutUsageStatsTest() local 134 while (benchmarkState.keepRunning(elapsedTimeNs)) { in runPutUsageStatsTest() 138 elapsedTimeNs = endTime - startTime; in runPutUsageStatsTest()
|
/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/tests/ |
D | BasePerfTest.java | 94 long elapsedTimeNs = 0; in runPerfFunction() local 95 while (benchmarkState.keepRunning(elapsedTimeNs)) { in runPerfFunction() 97 elapsedTimeNs = func.getAsLong(); in runPerfFunction()
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | GaugeMetricProducer.h | 37 GaugeAtom(std::shared_ptr<vector<FieldValue>> fields, int64_t elapsedTimeNs) in GaugeAtom() 38 : mFields(fields), mElapsedTimestamps(elapsedTimeNs) { in GaugeAtom()
|
D | EventMetricProducer.cpp | 149 const int64_t elapsedTimeNs = truncateTimestampIfNecessary( in onMatchedLogEventInternalLocked() local 151 mProto->write(FIELD_TYPE_INT64 | FIELD_ID_ELAPSED_TIMESTAMP_NANOS, (long long) elapsedTimeNs); in onMatchedLogEventInternalLocked()
|
/frameworks/base/core/java/android/os/ |
D | StatsLogEventWrapper.java | 48 public StatsLogEventWrapper(int tag, long elapsedTimeNs, long wallClockTimeNs) { in StatsLogEventWrapper() argument 50 this.mElapsedTimeNs = elapsedTimeNs; in StatsLogEventWrapper()
|