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.java1466 final ProcessCpuTracker mProcessCpuTracker = new ProcessCpuTracker( field in ActivityManagerService
1934 synchronized (mProcessCpuTracker) {
1935 stats = mProcessCpuTracker.getStats( (st)-> {
2202 synchronized (mActivityManagerService.mProcessCpuTracker) {
2203 pw.print(mActivityManagerService.mProcessCpuTracker.printCurrentLoad());
2204 pw.print(mActivityManagerService.mProcessCpuTracker.printCurrentState(
2562 synchronized (mProcessCpuTracker) { in ActivityManagerService()
2564 mProcessCpuTracker.init(); in ActivityManagerService()
2798 synchronized (mProcessCpuTracker) { in updateCpuStatsNow()
2806 mProcessCpuTracker.update(); in updateCpuStatsNow()
[all …]
DProcessRecord.java1323 return mService.mProcessCpuTracker.getCpuTimeForPid(pid); in getCpuTime()
1534 synchronized (mService.mProcessCpuTracker) { in appNotResponding()
1535 cpuInfo = mService.mProcessCpuTracker.printCurrentState(anrTime); in appNotResponding()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java307 ProcessCpuTracker mProcessCpuTracker = null; field in StatsCompanionService
1846 if (mProcessCpuTracker == null) { in pullProcessCpuTime()
1847 mProcessCpuTracker = new ProcessCpuTracker(false); in pullProcessCpuTime()
1848 mProcessCpuTracker.init(); in pullProcessCpuTime()
1850 mProcessCpuTracker.update(); in pullProcessCpuTime()
1851 for (int i = 0; i < mProcessCpuTracker.countStats(); i++) { in pullProcessCpuTime()
1852 ProcessCpuTracker.Stats st = mProcessCpuTracker.getStats(i); in pullProcessCpuTime()