|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ch.aplu.util.BaseTimer
Abstract base class for HiResTimer and LoResTimer. See HiResTimer or LoResTimer for more details.
Method Summary | |
long |
getTime()
Return the current timer's value in microseconds (us). |
boolean |
isRunning()
Return true if the timer is running. |
void |
reset()
Stop the timer and set its value to zero. |
void |
resume()
Restart the timer from its current value. |
void |
start()
Reset the timer to zero and start it. |
void |
stop()
Stop the timer and store the current value. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public long getTime()
public void start()
public void stop()
public void resume()
public void reset()
public boolean isRunning()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |