Home
last modified time | relevance | path

Searched refs:mProcessCpuTracker (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DOomAdjProfiler.java54 private final ProcessCpuTracker mProcessCpuTracker = new ProcessCpuTracker(false); field in OomAdjProfiler
122 final long cpuTimeMs = mProcessCpuTracker.getCpuTimeForPid(Process.myPid()); in updateSystemServerCpuTime()
DActivityManagerService.java1457 final ProcessCpuTracker mProcessCpuTracker = new ProcessCpuTracker( field in ActivityManagerService
1923 synchronized (mProcessCpuTracker) {
1924 stats = mProcessCpuTracker.getStats( (st)-> {
2191 synchronized (mActivityManagerService.mProcessCpuTracker) {
2192 pw.print(mActivityManagerService.mProcessCpuTracker.printCurrentLoad());
2193 pw.print(mActivityManagerService.mProcessCpuTracker.printCurrentState(
2534 synchronized (mProcessCpuTracker) { in ActivityManagerService()
2536 mProcessCpuTracker.init(); in ActivityManagerService()
2770 synchronized (mProcessCpuTracker) { in updateCpuStatsNow()
2778 mProcessCpuTracker.update(); in updateCpuStatsNow()
[all …]
DProcessRecord.java1320 return mService.mProcessCpuTracker.getCpuTimeForPid(pid); in getCpuTime()
1512 synchronized (mService.mProcessCpuTracker) { in appNotResponding()
1513 cpuInfo = mService.mProcessCpuTracker.printCurrentState(anrTime); in appNotResponding()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java305 ProcessCpuTracker mProcessCpuTracker = null; field in StatsCompanionService
1806 if (mProcessCpuTracker == null) { in pullProcessCpuTime()
1807 mProcessCpuTracker = new ProcessCpuTracker(false); in pullProcessCpuTime()
1808 mProcessCpuTracker.init(); in pullProcessCpuTime()
1810 mProcessCpuTracker.update(); in pullProcessCpuTime()
1811 for (int i = 0; i < mProcessCpuTracker.countStats(); i++) { in pullProcessCpuTime()
1812 ProcessCpuTracker.Stats st = mProcessCpuTracker.getStats(i); in pullProcessCpuTime()