Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/os/
DBinderCallsStats.java184 uidEntry.cpuTimeMicros += duration; in processCallEnded()
198 callStat.cpuTimeMicros += duration; in processCallEnded()
298 exported.cpuTimeMicros = stat.cpuTimeMicros; in getExportedCallStats()
395 totalCpuTime += e.cpuTimeMicros; in dumpLocked()
400 entries.sort(Comparator.<UidEntry>comparingDouble(value -> value.cpuTimeMicros).reversed()); in dumpLocked()
424 .append(',').append(e.cpuTimeMicros) in dumpLocked()
439 : getHighestValues(entries, value -> value.cpuTimeMicros, 0.9); in dumpLocked()
443 entry.cpuTimeMicros, 100d * entry.cpuTimeMicros / totalCpuTime, in dumpLocked()
580 public long cpuTimeMicros; field in BinderCallsStats.ExportedCallStat
612 public long cpuTimeMicros; field in BinderCallsStats.CallStat
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBinderCallsStatsTest.java73 assertEquals(10, uidEntry.cpuTimeMicros); in testDetailedOff()
83 assertEquals(10, uidEntry.cpuTimeMicros); in testDetailedOff()
112 assertEquals(10, uidEntry.cpuTimeMicros); in testDetailedOn()
117 assertEquals(10, callStatsList.get(0).cpuTimeMicros); in testDetailedOn()
127 assertEquals(30, uidEntry.cpuTimeMicros); in testDetailedOn()
138 assertEquals(80, uidEntry.cpuTimeMicros); in testDetailedOn()
188 assertEquals(60 /* 10 + 50 */, uidEntry.cpuTimeMicros); in testSampling()
195 assertEquals(60, callStats.cpuTimeMicros); in testSampling()
222 assertEquals(10, uidEntry.cpuTimeMicros); in testSamplingWithDifferentApis()
230 assertEquals(10, callStats.cpuTimeMicros); in testSamplingWithDifferentApis()
[all …]
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java1312 e.writeLong(callStat.cpuTimeMicros); in pullBinderCallsStats()