Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/os/
DKernelUidCpuClusterTimeReader.java95 double[] lastTimes = mLastUidPolicyTimeMs.get(uid); in readDeltaImpl() local
96 if (lastTimes == null) { in readDeltaImpl()
97 lastTimes = new double[mNumClusters]; in readDeltaImpl()
98 mLastUidPolicyTimeMs.put(uid, lastTimes); in readDeltaImpl()
106 mDeltaTime[i] = (long) (mCurTime[i] - lastTimes[i]); in readDeltaImpl()
114 System.arraycopy(mCurTime, 0, lastTimes, 0, mNumClusters); in readDeltaImpl()
DKernelUidCpuFreqTimeReader.java175 long[] lastTimes = mLastUidCpuFreqTimeMs.get(uid); in readDeltaImpl() local
176 if (lastTimes == null) { in readDeltaImpl()
177 lastTimes = new long[mCpuFreqsCount]; in readDeltaImpl()
178 mLastUidCpuFreqTimeMs.put(uid, lastTimes); in readDeltaImpl()
186 mDeltaTimes[i] = mCurTimes[i] - lastTimes[i]; in readDeltaImpl()
194 System.arraycopy(mCurTimes, 0, lastTimes, 0, mCpuFreqsCount); in readDeltaImpl()