All Packages  This Package  Class Hierarchy  Class Search  Index

Class com.hermetica.util3d.MicroTimer
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.

Version:
$Id: MicroTimer.java,v 1.4 1998/02/23 21:27:46 descarte Exp descarte $
Author:
Alligator Descartes




  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  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7