public final class Stopwatch
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.util.logging.Logger |
logger |
private long |
start |
Constructor and Description |
---|
Stopwatch() |
Modifier and Type | Method and Description |
---|---|
long |
reset()
Resets and returns elapsed time in milliseconds.
|
void |
resetAndLog(java.lang.String label)
Resets and logs elapsed time in milliseconds.
|