|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sdsu.util.Timer
Timer measures the wall time (total lapsed-time) between the call to start and stop methods. Note that wall time is not the same as cpu time consumed by a process, particularly in a system that supports the threads on a multi-user system. Java claims time is measuered in milliseconds.
Constructor Summary | |
Timer()
|
Method Summary | |
void |
pause()
Pause the timer. |
void |
reset()
Reset the timer to zero. |
void |
start()
Start the timer. |
long |
stop()
Stop the timer. |
long |
time()
Return the time measured by the timer. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public Timer()
Method Detail |
public void start()
public void pause()
public long stop()
public void reset()
public long time()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |