|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--test.Timer
Time and performance measurement utilities.
Constructor Summary | |
Timer()
Basic constructor which sets the timer base to the current time. |
Method Summary | |
long |
elapsed()
Return the number of milliseconds elapsed since the last timer reset. |
long |
elapsed(java.lang.Runnable action)
Return the length of time elapsed to run the given runnable. |
void |
reset()
Set the start time to the current time. |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public Timer()
Method Detail |
public long elapsed()
public long elapsed(java.lang.Runnable action)
public void reset()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |