Home
last modified time | relevance | path

Searched refs:cpuTimeMicros (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DBinderCallsStats.java317 uidEntry.cpuTimeMicros += duration; in processCallEnded()
332 callStat.cpuTimeMicros += duration; in processCallEnded()
538 exported.cpuTimeMicros = stat.cpuTimeMicros; in getExportedCallStat()
642 .append(',').append(e.cpuTimeMicros) in dumpLocked()
662 totalCpuTime += e.cpuTimeMicros; in dumpLocked()
670 totalCpuTime += e.cpuTimeMicros; in dumpLocked()
675 Comparator.<UidEntry>comparingDouble(value -> value.cpuTimeMicros).reversed()); in dumpLocked()
681 : getHighestValues(entries, value -> value.cpuTimeMicros, 0.9); in dumpLocked()
685 entry.cpuTimeMicros, 100d * entry.cpuTimeMicros / totalCpuTime, in dumpLocked()
895 public long cpuTimeMicros; field in BinderCallsStats.ExportedCallStat
[all …]
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryStatsBinderCallStatsTest.java68 stat1.cpuTimeMicros = 1000; in testNoteBinderCallStats()
78 stat2.cpuTimeMicros = 500; in testNoteBinderCallStats()
112 stat1a.cpuTimeMicros = 1000; in testProportionalSystemServiceUsage_noStatsForSomeMethods()
119 stat1b.cpuTimeMicros = 1500; in testProportionalSystemServiceUsage_noStatsForSomeMethods()
DSystemServicePowerCalculatorTest.java258 stat1.cpuTimeMicros = 1_000_000; in prepareBatteryStats()
268 stat2.cpuTimeMicros = 9_000_000; in prepareBatteryStats()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBinderCallsStatsTest.java97 assertEquals(10, uidEntry.cpuTimeMicros); in testDetailedOff()
107 assertEquals(10, uidEntry.cpuTimeMicros); in testDetailedOff()
136 assertEquals(10, uidEntry.cpuTimeMicros); in testDetailedOn()
141 assertEquals(10, callStatsList.get(0).cpuTimeMicros); in testDetailedOn()
151 assertEquals(30, uidEntry.cpuTimeMicros); in testDetailedOn()
162 assertEquals(80, uidEntry.cpuTimeMicros); in testDetailedOn()
212 assertEquals(60 /* 10 + 50 */, uidEntry.cpuTimeMicros); in testSampling()
219 assertEquals(60, callStats.cpuTimeMicros); in testSampling()
246 assertEquals(10, uidEntry.cpuTimeMicros); in testSamplingWithDifferentApis()
254 assertEquals(10, callStats.cpuTimeMicros); in testSamplingWithDifferentApis()
[all …]
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java2789 callStat.cpuTimeMicros, callStat.maxCpuTimeMicros, callStat.maxReplySizeBytes,
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java10042 bcs.recordedCpuTimeMicros = stat.cpuTimeMicros; in noteBinderCallStatsLocked()