Searched refs:latestCpuTimesMs (Results 1 – 1 of 1) sorted by relevance
154 public long[] computeDelta(int uid, @NonNull long[] latestCpuTimesMs) { in computeDelta() argument161 final long[] deltaTimesMs = getDeltaLocked(lastCpuTimesMs, latestCpuTimesMs); in computeDelta()165 + "; latest=" + Arrays.toString(latestCpuTimesMs)); in computeDelta()177 mLastUidCpuTimeMs.put(uid, latestCpuTimesMs); in computeDelta()194 public long[] getDeltaLocked(long[] lastCpuTimesMs, @NonNull long[] latestCpuTimesMs) { in getDeltaLocked() argument195 for (int i = latestCpuTimesMs.length - 1; i >= 0; --i) { in getDeltaLocked()196 if (latestCpuTimesMs[i] < 0) { in getDeltaLocked()201 return latestCpuTimesMs; in getDeltaLocked()203 final long[] deltaTimesMs = new long[latestCpuTimesMs.length]; in getDeltaLocked()204 for (int i = latestCpuTimesMs.length - 1; i >= 0; --i) { in getDeltaLocked()[all …]