Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
DAppProfiler.java307 private final ProcessCpuTracker mProcessCpuTracker = new ProcessCpuTracker( field in AppProfiler
429 synchronized (mProcessCpuTracker) { in collectPssInBackground()
430 stats = mProcessCpuTracker.getStats(st -> { in collectPssInBackground()
1795 synchronized (mProcessCpuTracker) { in updateCpuStatsNow()
1803 mProcessCpuTracker.update(); in updateCpuStatsNow()
1804 if (mProcessCpuTracker.hasGoodLastStats()) { in updateCpuStatsNow()
1812 int user = mProcessCpuTracker.getLastUserTime(); in updateCpuStatsNow()
1813 int system = mProcessCpuTracker.getLastSystemTime(); in updateCpuStatsNow()
1814 int iowait = mProcessCpuTracker.getLastIoWaitTime(); in updateCpuStatsNow()
1815 int irq = mProcessCpuTracker.getLastIrqTime(); in updateCpuStatsNow()
[all …]
DOomAdjProfiler.java61 private final ProcessCpuTracker mProcessCpuTracker = new ProcessCpuTracker(false); field in OomAdjProfiler
125 final long cpuTimeMs = mProcessCpuTracker.getCpuTimeForPid(Process.myPid()); in updateSystemServerCpuTime()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java315 private ProcessCpuTracker mProcessCpuTracker; field in StatsPullAtomService
2925 if (mProcessCpuTracker == null) {
2926 mProcessCpuTracker = new ProcessCpuTracker(false);
2927 mProcessCpuTracker.init();
2929 mProcessCpuTracker.update();
2930 for (int i = 0; i < mProcessCpuTracker.countStats(); i++) {
2931 ProcessCpuTracker.Stats st = mProcessCpuTracker.getStats(i);