Home
last modified time | relevance | path

Searched refs:elapsedTimeNs (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/cmds/statsd/src/external/
DStatsPuller.cpp42 bool StatsPuller::Pull(const int64_t elapsedTimeNs, std::vector<std::shared_ptr<LogEvent>>* data) { in Pull() argument
46 if (elapsedTimeNs - mLastPullTimeNs < mCoolDownNs) { in Pull()
51 if (mMinPullIntervalNs > elapsedTimeNs - mLastPullTimeNs) { in Pull()
52 mMinPullIntervalNs = elapsedTimeNs - mLastPullTimeNs; in Pull()
57 mLastPullTimeNs = elapsedTimeNs; in Pull()
60 data->setElapsedTimestampNs(elapsedTimeNs); in Pull()
/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/tests/
DBasePerfTest.java93 long elapsedTimeNs = 0; in runPerfFunction() local
94 while (benchmarkState.keepRunning(elapsedTimeNs)) { in runPerfFunction()
96 elapsedTimeNs = func.getAsLong(); in runPerfFunction()
/frameworks/base/cmds/statsd/src/metrics/
DGaugeMetricProducer.h36 GaugeAtom(std::shared_ptr<vector<FieldValue>> fields, int64_t elapsedTimeNs, int wallClockNs) in GaugeAtom()
37 : mFields(fields), mElapsedTimestamps(elapsedTimeNs), mWallClockTimestampNs(wallClockNs) { in GaugeAtom()