Home
last modified time | relevance | path

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

/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
DCpuMonitor.java199 long diffRunTime = procStat.runTime - lastProcStat.runTime; in sampleCpuUtilization() local
205 long allTime = diffRunTime + diffIdleTime; in sampleCpuUtilization()
206 int percent = allTime == 0 ? 0 : (int) Math.round(percentFreq * diffRunTime / allTime); in sampleCpuUtilization()