public class StopWatch extends Object
Constructor and Description |
---|
StopWatch() |
Modifier and Type | Method and Description |
---|---|
float |
getElapsedMilliseconds() |
float |
getElapsedSeconds() |
long |
getElapsedTime() |
void |
reset() |
void |
start() |
static StopWatch |
startNew() |
void |
stop() |
String |
toString() |
public static StopWatch startNew()
public void start()
public void reset()
public void stop()
public long getElapsedTime()
public float getElapsedMilliseconds()
public float getElapsedSeconds()