public class JniCpuStat.CpuIdleProbe extends AbstractMeter
Modifier and Type | Method and Description |
---|---|
double |
calculate()
Calculate the current value based on the previous sample().
|
void |
sample()
Sample the meter, resetting any counters for the next sample.
|
getName, peek, toString
public void sample()
AbstractMeter
sample
in interface Meter
sample
in class AbstractMeter
public double calculate()
AbstractMeter
calculate
in interface Meter
calculate
in class AbstractMeter