|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--util.CPUTimer
Timers for measuring the CPU time.
| Constructor Summary | |
CPUTimer()
|
|
| Method Summary | |
long |
get()
Returns the measured time. |
void |
reset()
Resets the timer. |
void |
set(long value)
Sets the timer. |
void |
start()
Starts the timer. |
long |
stop()
Stops the timer. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CPUTimer()
| Method Detail |
public long get()
public void reset()
public void set(long value)
value - value of timepublic void start()
public long stop()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||