public class Stopwatch
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private int |
t0
records system clock time (in milliseconds) when reset() was executed
|
| Constructor and Description |
|---|
Stopwatch() |
| Modifier and Type | Method and Description |
|---|---|
int |
elapsed()
Return elapsed time in milliseconds
|
void |
reset()
Reset watch to zero
|