Searched refs:diffRunTime (Results 1 – 1 of 1) sorted by relevance
199 long diffRunTime = procStat.runTime - lastProcStat.runTime; in sampleCpuUtilization() local205 long allTime = diffRunTime + diffIdleTime; in sampleCpuUtilization()206 int percent = allTime == 0 ? 0 : (int) Math.round(percentFreq * diffRunTime / allTime); in sampleCpuUtilization()