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.java11947 final LongSamplingCounter[] cpuTimeUs = u.mCpuClusterSpeedTimesUs[cluster]; in readKernelUidCpuFreqTimesLocked() local
11949 if (cpuTimeUs[speed] == null) { in readKernelUidCpuFreqTimesLocked()
11950 cpuTimeUs[speed] = new LongSamplingCounter(mOnBatteryTimeBase); in readKernelUidCpuFreqTimesLocked()
11954 cpuTimeUs[speed].addCountLocked(allocationUs, onBattery); in readKernelUidCpuFreqTimesLocked()