Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/os/
DKernelSingleUidTimeReader.java161 final long[] deltaTimesMs = getDeltaLocked(lastCpuTimesMs, latestCpuTimesMs); in computeDelta() local
162 if (deltaTimesMs == null) { in computeDelta()
170 for (int i = deltaTimesMs.length - 1; i >= 0; --i) { in computeDelta()
171 if (deltaTimesMs[i] > 0) { in computeDelta()
178 return deltaTimesMs; in computeDelta()
203 final long[] deltaTimesMs = new long[latestCpuTimesMs.length]; in getDeltaLocked() local
205 deltaTimesMs[i] = latestCpuTimesMs[i] - lastCpuTimesMs[i]; in getDeltaLocked()
206 if (deltaTimesMs[i] < 0) { in getDeltaLocked()
210 return deltaTimesMs; in getDeltaLocked()
DBatteryStatsImpl.java542 final long[] deltaTimesMs = mKernelSingleUidTimeReader.computeDelta( in copyFromAllUidsCpuTimes() local
544 if (onBattery && deltaTimesMs != null) { in copyFromAllUidsCpuTimes()
554 u.addProcStateTimesMs(procState, deltaTimesMs, onBattery); in copyFromAllUidsCpuTimes()
555 u.addProcStateScreenOffTimesMs(procState, deltaTimesMs, onBatteryScreenOff); in copyFromAllUidsCpuTimes()