Home
last modified time | relevance | path

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

/external/webrtc/examples/androidapp/src/org/appspot/apprtc/
DCpuMonitor.java88 private final MovingAverage systemCpuUsage; field in CpuMonitor
174 systemCpuUsage = new MovingAverage(MOVING_AVERAGE_SAMPLES); in CpuMonitor()
209 return doubleToPercent(userCpuUsage.getCurrent() + systemCpuUsage.getCurrent()); in getCpuUsageCurrent()
215 return doubleToPercent(userCpuUsage.getAverage() + systemCpuUsage.getAverage()); in getCpuUsageAverage()
285 systemCpuUsage.reset(); in resetStat()
407 systemCpuUsage.addValue(currentSystemCpuUsage); in sampleCpuUtilization()
430 .append(doubleToPercent(systemCpuUsage.getCurrent())) in getStatString()
432 .append(doubleToPercent(systemCpuUsage.getAverage())) in getStatString()