Home
last modified time | relevance | path

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

/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
DCpuMonitor.java65 private static final int SAMPLE_SAVE_NUMBER = 10; // Assumed to be >= 3. field in CpuMonitor
66 private int[] percentVec = new int[SAMPLE_SAVE_NUMBER];
212 sum10 += percent - percentVec[SAMPLE_SAVE_NUMBER - 1]; in sampleCpuUtilization()
215 for (int i = SAMPLE_SAVE_NUMBER - 1; i > 0; i--) { in sampleCpuUtilization()
222 cpuAvgAll = sum10 / SAMPLE_SAVE_NUMBER; in sampleCpuUtilization()