All Packages This Package Class Hierarchy Class Search Index
java.lang.Object | +----com.hermetica.util3d.MicroTimer
Summary |
public class MicroTimer extends java.lang.Object { // Constructors 1 public MicroTimer(); // Methods 4 public final native long getDelta(); public final native long getFrequency(); public final native void start(); public final native void stop(); }
This class provides a handy microsecond accurate timer instead of the more inaccurate millisecond timer provided with core Java.
Constructors |
· MicroTimer | Summary | Top |
public MicroTimer()
Creates a new MicroTimer
Methods |
· start | Summary | Top |
public final native void start()
Native method to fetch the starting value of the timer
· stop | Summary | Top |
public final native void stop()
Native method to populate the stop value of the timer
· getDelta | Summary | Top |
public final native long getDelta()
Returns the time between the start() and stop() calls
· getFrequency | Summary | Top |
public final native long getFrequency()
Returns the frequency of the timer
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7