Home
last modified time | relevance | path

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

/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
DCpuMonitor.java194 ProcStat procStat = readIdleAndRunTime(); in sampleCpuUtilization() local
195 if (procStat == null) { in sampleCpuUtilization()
199 long diffRunTime = procStat.runTime - lastProcStat.runTime; in sampleCpuUtilization()
200 long diffIdleTime = procStat.idleTime - lastProcStat.idleTime; in sampleCpuUtilization()
203 lastProcStat = procStat; in sampleCpuUtilization()