Home
last modified time | relevance | path

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

/external/webrtc/examples/androidapp/src/org/appspot/apprtc/
DCpuMonitor.java106 private ProcStat lastProcStat; field in CpuMonitor
277 lastProcStat = new ProcStat(0, 0, 0); in init()
391 long diffUserTime = procStat.userTime - lastProcStat.userTime; in sampleCpuUtilization()
392 long diffSystemTime = procStat.systemTime - lastProcStat.systemTime; in sampleCpuUtilization()
393 long diffIdleTime = procStat.idleTime - lastProcStat.idleTime; in sampleCpuUtilization()
414 lastProcStat = procStat; in sampleCpuUtilization()