public class StopWatch extends Object
Constructor | Description |
---|---|
StopWatch() |
Modifier and Type | Method | 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()