com.bulletphysics.linearmath
Class Clock

java.lang.Object
  extended by com.bulletphysics.linearmath.Clock

public class Clock
extends java.lang.Object


Constructor Summary
Clock()
           
 
Method Summary
 long getTimeMicroseconds()
          Returns the time in us since the last call to reset or since the Clock was created.
 long getTimeMilliseconds()
          Returns the time in ms since the last call to reset or since the Clock was created.
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Clock

public Clock()
Method Detail

reset

public void reset()

getTimeMilliseconds

public long getTimeMilliseconds()
Returns the time in ms since the last call to reset or since the Clock was created.


getTimeMicroseconds

public long getTimeMicroseconds()
Returns the time in us since the last call to reset or since the Clock was created.