public class KernelCpuSpeedReader extends Object
readDelta()
. Each line in the proc file has the format:
freq time
where time is measured in jiffies.Constructor and Description |
---|
KernelCpuSpeedReader(int cpuNumber,
int numSpeedSteps) |
Modifier and Type | Method and Description |
---|---|
long[] |
readDelta()
The returned array is modified in subsequent calls to
readDelta() . |
public KernelCpuSpeedReader(int cpuNumber, int numSpeedSteps)
cpuNumber
- The cpu (cpu0, cpu1, etc) whose state to read.public long[] readDelta()
readDelta()
.readDelta()
.