|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.extensions.abbot.Timer
public class 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(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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Timer()
Method Detail |
---|
public long elapsed()
public long elapsed(Runnable action)
public void reset()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |