Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
DOomAdjProfiler.java122 final long cpuTimeMs = mProcessCpuTracker.getCpuTimeForPid(Process.myPid()); in updateSystemServerCpuTime() local
125 cpuTimeMs - mLastSystemServerCpuTimeMs, onBattery, screenOff); in updateSystemServerCpuTime()
126 mLastSystemServerCpuTimeMs = cpuTimeMs; in updateSystemServerCpuTime()
188 public void addCpuTimeMs(long cpuTimeMs) { in addCpuTimeMs() argument
189 addCpuTimeMs(cpuTimeMs, mOnBattery, mScreenOff); in addCpuTimeMs()
192 public void addCpuTimeMs(long cpuTimeMs, boolean onBattery, boolean screenOff) { in addCpuTimeMs() argument
194 mOnBatteryTimeMs += cpuTimeMs; in addCpuTimeMs()
196 mOnBatteryScreenOffTimeMs += cpuTimeMs; in addCpuTimeMs()
/frameworks/base/core/java/com/android/internal/os/
DCpuPowerCalculator.java35 app.cpuTimeMs = (u.getUserCpuTimeUs(statsType) + u.getSystemCpuTimeUs(statsType)) / 1000; in calculateApp()
75 if (DEBUG && (app.cpuTimeMs != 0 || app.cpuPowerMah != 0)) { in calculateApp()
76 Log.d(TAG, "UID " + u.getUid() + ": CPU time=" + app.cpuTimeMs + " ms power=" in calculateApp()
107 if (app.cpuFgTimeMs > app.cpuTimeMs) { in calculateApp()
108 if (DEBUG && app.cpuFgTimeMs > app.cpuTimeMs + 10000) { in calculateApp()
113 app.cpuTimeMs = app.cpuFgTimeMs; in calculateApp()
DBatterySipper.java88 public long cpuTimeMs; field in BatterySipper
208 cpuTimeMs += other.cpuTimeMs; in add()
DBatteryStatsHelper.java702 if (DEBUG) Log.d(TAG, tag + " adding sipper " + wbs + ": cpu=" + wbs.cpuTimeMs); in aggregateSippers()