| |
|
| java.lang.Object junit.extensions.abbot.Timer
Timer | public class Timer (Code) | | Time and performance measurement utilities.
author: twall |
Constructor Summary | |
public | Timer() Basic constructor which sets the timer base to the current time. |
Method Summary | |
public long | elapsed() Return the number of milliseconds elapsed since the last timer
reset. | public long | elapsed(Runnable action) Return the length of time elapsed to run the given runnable. | public void | reset() Set the start time to the current time. |
Timer | public Timer()(Code) | | Basic constructor which sets the timer base to the current time.
|
elapsed | public long elapsed()(Code) | | Return the number of milliseconds elapsed since the last timer
reset.
|
elapsed | public long elapsed(Runnable action)(Code) | | Return the length of time elapsed to run the given runnable.
|
reset | public void reset()(Code) | | Set the start time to the current time.
|
|
|
|