|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.pd.jazn.LRAdemo.Timer
Class that allows time to be measure around java code. Note that the timing may be affected by the operating systems processing swapping and are not exact Note that if the start method is not followed by a stop method call then the getTime method will not be reliable.
Constructor Summary | |
---|---|
Timer()
|
Method Summary | |
---|---|
long |
getTime()
Retrieves the differnce between the stop time and the start time. |
void |
start()
Starts the timer |
void |
stop()
Stops the timer |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Timer()
Method Detail |
public void start()
public void stop()
public long getTime()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |