Home
last modified time | relevance | path

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

/frameworks/base/tests/UsageStatsPerfTests/src/com/android/frameworks/perftests/usage/tests/
DUsageStatsDatabasePerfTest.java120 long elapsedTimeNs = 0; in runQueryUsageStatsTest() local
121 while (benchmarkState.keepRunning(elapsedTimeNs)) { in runQueryUsageStatsTest()
126 elapsedTimeNs = endTime - startTime; in runQueryUsageStatsTest()
135 long elapsedTimeNs = 0; in runPutUsageStatsTest() local
136 while (benchmarkState.keepRunning(elapsedTimeNs)) { in runPutUsageStatsTest()
140 elapsedTimeNs = endTime - startTime; in runPutUsageStatsTest()
149 long elapsedTimeNs = 0; in runObfuscateStatsTest() local
150 while (benchmarkState.keepRunning(elapsedTimeNs)) { in runObfuscateStatsTest()
155 elapsedTimeNs = endTime - startTime; in runObfuscateStatsTest()
164 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()
94 elapsedTimeNs = endTime - startTime; in runPersistedJobWriting()
111 long elapsedTimeNs = 0; in runPersistedJobReading() local
112 while (benchmarkState.keepRunning(elapsedTimeNs)) { in runPersistedJobReading()
124 elapsedTimeNs = endTime - startTime; in runPersistedJobReading()
/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/tests/
DBasePerfTest.java94 long elapsedTimeNs = 0; in runPerfFunction() local
95 while (benchmarkState.keepRunning(elapsedTimeNs)) { in runPerfFunction()
97 elapsedTimeNs = func.getAsLong(); in runPerfFunction()
/frameworks/base/apct-tests/perftests/windowmanager/src/android/wm/
DWindowAddRemovePerfTest.java98 long elapsedTimeNs = 0; in runBenchmark() local
99 while (state.keepRunning(elapsedTimeNs)) { in runBenchmark()
115 elapsedTimeNs = elapsedTimeNsOfAdd + elapsedTimeNsOfRemove; in runBenchmark()
DRecentsAnimationPerfTest.java201 final long elapsedTimeNs = SystemClock.elapsedRealtimeNanos() - startTime; in testRecentsAnimation()
202 mMeasuredTimeNs += elapsedTimeNs; in testRecentsAnimation()
203 state.addExtraResult("startFromRecents", elapsedTimeNs); in testRecentsAnimation()
/frameworks/av/services/audioflinger/
DThreadMetrics.h100 const int64_t elapsedTimeNs = systemTime() - mIntervalStartTimeNs; in logEndInterval() local
102 mCumulativeTimeNs += elapsedTimeNs; in logEndInterval()
103 mDeviceTimeNs += elapsedTimeNs; in logEndInterval()
DTrackMetrics.h94 const int64_t elapsedTimeNs = systemTime() - mIntervalStartTimeNs; in logEndInterval() local
96 mCumulativeTimeNs += elapsedTimeNs; in logEndInterval()
97 mDeviceTimeNs += elapsedTimeNs; in logEndInterval()