javax.realtime
Class HighResolutionTimer

java.lang.Object
  extended byjavax.realtime.HighResolutionTimer

public class HighResolutionTimer
extends Object

This class provide a way of performing high resolution of the time spent performing something.

Author:
Angelo Corsaro

Constructor Summary
HighResolutionTimer()
           
 
Method Summary
 RelativeTime getElapsedTime()
           
 void getElapsedTime(RelativeTime time)
           
 void reset()
          Resets the timer.
 void start()
          Starts measuring the elapsed time.
 void stop()
          Stops the time measurement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HighResolutionTimer

public HighResolutionTimer()
Method Detail

start

public void start()
Starts measuring the elapsed time.


stop

public void stop()
Stops the time measurement.


reset

public void reset()
Resets the timer.


getElapsedTime

public RelativeTime getElapsedTime()

getElapsedTime

public void getElapsedTime(RelativeTime time)


jRate is developed and maintained by the jRate project development team.
Copyright (c) 2001-2005 Angelo Corsaro and Morgan Deters.