Home
last modified time | relevance | path

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

/external/webrtc/examples/androidapp/src/org/appspot/apprtc/
DCpuMonitor.java86 private final MovingAverage userCpuUsage; field in CpuMonitor
173 userCpuUsage = 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()
284 userCpuUsage.reset(); in resetStat()
404 userCpuUsage.addValue(currentUserCpuUsage); in sampleCpuUtilization()
426 .append(doubleToPercent(userCpuUsage.getCurrent())) in getStatString()
428 .append(doubleToPercent(userCpuUsage.getAverage())) in getStatString()