public class Stopwatch
extends java.lang.Object
Constructor and Description |
---|
Stopwatch() |
Modifier and Type | Method and Description |
---|---|
long |
lap()
Return millisecond stopwatch time elapsed so far.
|
void |
reset()
Reset the millisecond stopwatch.
|
void |
start()
Start millisecond stopwatch.
|
long |
stop()
Stop millisecond stopwatch and return total time elapsed.
|
public long lap()
public void reset()
public void start()
public long stop()