Home
last modified time | relevance | path

Searched refs:cpuTimeUs (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsCpuTimesTest.java217 final int[] cpuTimeUs = {89, 31, 43}; in testUpdateClusterSpeedTimes() local
219 updatedUids.put(testUids[i], cpuTimeUs[i]); in testUpdateClusterSpeedTimes()
238 cpuTimeUs[i] * clusterSpeedTimesMs[cluster][speed] in testUpdateClusterSpeedTimes()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java11953 final LongSamplingCounter[] cpuTimeUs = u.mCpuClusterSpeedTimesUs[cluster]; in readKernelUidCpuFreqTimesLocked() local
11955 if (cpuTimeUs[speed] == null) { in readKernelUidCpuFreqTimesLocked()
11956 cpuTimeUs[speed] = new LongSamplingCounter(mOnBatteryTimeBase); in readKernelUidCpuFreqTimesLocked()
11960 cpuTimeUs[speed].addCountLocked(allocationUs, onBattery); in readKernelUidCpuFreqTimesLocked()