public final class SimpleTimerMillis
extends java.lang.Object
Constructor and Description |
---|
SimpleTimerMillis()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
elapsedMillis()
Get elapsed time in milliseconds.
|
double |
elapsedSeconds()
Get elapsed time in seconds.
|
void |
reset()
Resets the timer.
|
void |
start()
Starts timing a job.
|
public void reset()
public void start()
public long elapsedMillis()
public double elapsedSeconds()