Searched refs:userTimeUs (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/java/com/android/internal/os/ |
D | KernelUidCpuTimeReader.java | 56 void onUidCpuTime(int uid, long userTimeUs, long systemTimeUs); in onUidCpuTime() argument 81 final long userTimeUs = Long.parseLong(splitter.next(), 10); in readDeltaImpl() local 85 long userTimeDeltaUs = userTimeUs; in readDeltaImpl() 107 TimeUtils.formatDuration(userTimeUs / 1000, sb); in readDeltaImpl() 123 mLastUserTimeUs.put(uid, userTimeUs); in readDeltaImpl() 150 final long userTimeUs = Long.parseLong(splitter.next(), 10); in readAbsolute() local 152 callback.onUidCpuTime(uid, userTimeUs, systemTimeUs); in readAbsolute()
|
D | BatteryStatsImpl.java | 12075 mKernelUidCpuTimeReader.readDelta((uid, userTimeUs, systemTimeUs) -> { in readKernelUidCpuTimesLocked() argument 12092 mTempTotalCpuUserTimeUs += userTimeUs; in readKernelUidCpuTimesLocked() 12099 TimeUtils.formatDuration(userTimeUs / 1000, sb); in readKernelUidCpuTimesLocked() 12109 userTimeUs = (userTimeUs * WAKE_LOCK_WEIGHT) / 100; in readKernelUidCpuTimesLocked() 12115 TimeUtils.formatDuration(userTimeUs / 1000, sb); in readKernelUidCpuTimesLocked() 12121 u.mUserCpuTime.addCountLocked(userTimeUs, onBattery); in readKernelUidCpuTimesLocked() 12124 updatedUids.put(u.getUid(), userTimeUs + systemTimeUs); in readKernelUidCpuTimesLocked() 12141 final int userTimeUs = (int) (mTempTotalCpuUserTimeUs / (numWakelocks - i)); in readKernelUidCpuTimesLocked() local 12148 TimeUtils.formatDuration(userTimeUs / 1000, sb); in readKernelUidCpuTimesLocked() 12154 timer.mUid.mUserCpuTime.addCountLocked(userTimeUs, onBattery); in readKernelUidCpuTimesLocked() [all …]
|
/frameworks/base/services/core/java/com/android/server/stats/ |
D | StatsCompanionService.java | 735 mKernelUidCpuTimeReader.readAbsolute((uid, userTimeUs, systemTimeUs) -> { in pullKernelUidCpuTime() argument 738 e.writeLong(userTimeUs); in pullKernelUidCpuTime()
|