Home
last modified time | relevance | path

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

/frameworks/base/tests/UsageStatsPerfTests/src/com/android/frameworks/perftests/usage/tests/
DUsageStatsDatabasePerfTest.java121 long elapsedTimeNs = 0; in runQueryUsageStatsTest() local
122 while (benchmarkState.keepRunning(elapsedTimeNs)) { in runQueryUsageStatsTest()
127 elapsedTimeNs = endTime - startTime; in runQueryUsageStatsTest()
136 long elapsedTimeNs = 0; in runPutUsageStatsTest() local
137 while (benchmarkState.keepRunning(elapsedTimeNs)) { in runPutUsageStatsTest()
141 elapsedTimeNs = endTime - startTime; in runPutUsageStatsTest()
150 long elapsedTimeNs = 0; in runObfuscateStatsTest() local
151 while (benchmarkState.keepRunning(elapsedTimeNs)) { in runObfuscateStatsTest()
156 elapsedTimeNs = endTime - startTime; in runObfuscateStatsTest()
165 long elapsedTimeNs = 0; in runDeobfuscateStatsTest() local
[all …]
/frameworks/base/tests/JobSchedulerPerfTests/src/com/android/frameworks/perftests/job/
DJobStorePerfTests.java83 long elapsedTimeNs = 0; in runPersistedJobWriting() local
84 while (benchmarkState.keepRunning(elapsedTimeNs)) { in runPersistedJobWriting()
93 elapsedTimeNs = endTime - startTime; in runPersistedJobWriting()
111 long elapsedTimeNs = 0; in runPersistedJobWriting_delta() local
112 while (benchmarkState.keepRunning(elapsedTimeNs)) { in runPersistedJobWriting_delta()
129 elapsedTimeNs = endTime - startTime; in runPersistedJobWriting_delta()
168 long elapsedTimeNs = 0; in runPersistedJobReading() local
169 while (benchmarkState.keepRunning(elapsedTimeNs)) { in runPersistedJobReading()
181 elapsedTimeNs = endTime - startTime; in runPersistedJobReading()
/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/tests/
DBasePerfTest.java95 long elapsedTimeNs = 0; in runPerfFunction() local
96 while (benchmarkState.keepRunning(elapsedTimeNs)) { in runPerfFunction()
98 elapsedTimeNs = func.getAsLong(); in runPerfFunction()
/frameworks/base/apct-tests/perftests/windowmanager/src/android/wm/
DWindowAddRemovePerfTest.java102 long elapsedTimeNs = 0; in runBenchmark() local
103 while (state.keepRunning(elapsedTimeNs)) { in runBenchmark()
119 elapsedTimeNs = elapsedTimeNsOfAdd + elapsedTimeNsOfRemove; in runBenchmark()
/frameworks/av/services/audioflinger/datapath/
DThreadMetrics.h101 const int64_t elapsedTimeNs = systemTime() - mIntervalStartTimeNs; in logEndInterval() local
103 mCumulativeTimeNs += elapsedTimeNs; in logEndInterval()
104 mDeviceTimeNs += elapsedTimeNs; in logEndInterval()
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp468 const auto elapsedTimeNs = android::elapsedRealtimeNano(); in writeWinscopeMetadata() local
470 elapsedTimeNs - systemTime(SYSTEM_TIME_MONOTONIC); in writeWinscopeMetadata()
472 systemTime(SYSTEM_TIME_REALTIME) - elapsedTimeNs; in writeWinscopeMetadata()