Home
last modified time | relevance | path

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

/external/webrtc/examples/androidapp/src/org/appspot/apprtc/
DCpuMonitor.java92 private final MovingAverage frequencyScale; field in CpuMonitor
176 frequencyScale = new MovingAverage(MOVING_AVERAGE_SAMPLES); in CpuMonitor()
221 return doubleToPercent(frequencyScale.getAverage()); in getFrequencyScaleAverage()
287 frequencyScale.reset(); in resetStat()
382 if (frequencyScale.getCurrent() > 0) { in sampleCpuUtilization()
383 currentFrequencyScale = (frequencyScale.getCurrent() + currentFrequencyScale) * 0.5; in sampleCpuUtilization()
401 frequencyScale.addValue(currentFrequencyScale); in sampleCpuUtilization()
434 .append(doubleToPercent(frequencyScale.getCurrent())) in getStatString()
436 .append(doubleToPercent(frequencyScale.getAverage())) in getStatString()