com.bulletphysics.linearmath
Class Clock
java.lang.Object
com.bulletphysics.linearmath.Clock
public class Clock
- extends 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()
|
Clock
public Clock()
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.