Home
last modified time | relevance | path

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

/frameworks/base/core/tests/SvcMonitor/src/com/android/google/experimental/svcmoniter/
DSvcMonitor.java103 long java_time_old, hal_time_old, cpu_time_old = -1; field in SvcMonitor.MonitorRunnable
116 cpu_time_old = getPsTime(""); in MonitorRunnable()
139 if (cpu_time_old >= 0) { in calculateUsage()
142 float cpu_diff = (float) (cpu_time - cpu_time_old); in calculateUsage()
156 cpu_time_old = cpu_time; in calculateUsage()