|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Used for timing the execution of a code segment.
StopWatchSource| Method Summary | |
long |
getResolution()
The error expected in the measured elapsed time; meaning, the actual elapsed time is somewhere in the range of the measured elapsed time plus-or-minus this value. |
void |
start()
Starts timing. |
long |
stop()
Stops timing and returns the elapsed time in nanoseconds (10-9 seconds). |
| Method Detail |
public void start()
public long stop()
start() was called.public long getResolution()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||