public class StopWatch
extends java.lang.Object
| Constructor and Description |
|---|
StopWatch() |
| Modifier and Type | Method and Description |
|---|---|
long |
getElapsedTime()
Returns the cumulative time between all the start() and stop() calls made to this object.
|
long |
getElapsedTimeSecs() |
void |
reset() |
void |
start() |
void |
stop() |
public void start()
public void stop()
public void reset()
public long getElapsedTime()
public long getElapsedTimeSecs()