|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.hermetica.util3d.MicroTimer
This class provides a handy microsecond accurate timer instead of the more inaccurate millisecond timer provided with core Java.
Constructor Summary | |
MicroTimer()
Creates a new MicroTimer |
Method Summary | |
long |
getDelta()
Returns the time between the start() and stop() calls |
long |
getFrequency()
Returns the frequency of the timer |
void |
start()
Native method to fetch the starting value of the timer |
void |
stop()
Native method to populate the stop value of the timer |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public MicroTimer()
Method Detail |
public final void start()
public final void stop()
public final long getDelta()
public final long getFrequency()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |