Constructor and Description |
---|
RateMeter() |
Modifier and Type | Method and Description |
---|---|
double |
getRate() |
void |
reset()
Reset counter
|
double |
updateFromDelta(double delta)
Update rate from delta
Return current rate |
double |
updateFromTotal(double total)
Update rate from total
Return current rate |
public RateMeter()
public void reset()
public double updateFromDelta(double delta)
public double updateFromTotal(double total)
public double getRate()