|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Stopwatch
Measures the time taken for execution of some code.
| Method Summary | |
|---|---|
long |
getDuration()
Returns the duration in nanoseconds. |
long |
getDuration(java.util.concurrent.TimeUnit timeUnit)
Returns the duration in the specified time unit. |
void |
reset()
Reset the stopwatch so that it can be used again. |
void |
start()
Mark the start time. |
void |
stop()
Mark the end time. |
| Method Detail |
|---|
void start()
void stop()
void reset()
long getDuration(java.util.concurrent.TimeUnit timeUnit)
long getDuration()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||