/** 
  * 
  * See the end of the file for the log of changes.
  * 
  * $Author: mtsezgin $
  * $Date: 2000/06/10 18:56:16 $   
  * $Revision: 1.1 $
  * $Headers$
  * $Id: Timer.java,v 1.1 2000/06/10 18:56:16 mtsezgin Exp $     
  * $Name:  $   
  * $Locker:  $
  * $Source: /mit/mtsezgin/CVS/Repository/REC/Timer.java,v $
  *  
  **/


public class
Timer
{
    public native long
    getTics();

    static {
        System.loadLibrary( "fasttimer" );
    }
    
    public static long 
    tics()
    {
        return new Timer().getTics();
    }
}


/** 
  * 
  * $Log: Timer.java,v $
  * Revision 1.1  2000/06/10 18:56:16  mtsezgin
  *
  * This class provides the native method call interface to the real time
  * clock in lousy win9X operating systems. This is needed because jvm in
  * windows uses the equivalent of the standart clock() function call, and
  * the OS implementation of this function uses interrupt 1Ch which is fired
  * approximately 18.2 times per second. This is not sufficient for most
  * purposes.
  *
  *  
  **/
