|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bulletphysics.linearmath.Clock
public class Clock
Clock is a portable basic clock that measures accurate time in seconds, use for profiling.
| Constructor Summary | |
|---|---|
Clock()
Creates a new clock and resets it. |
|
| Method Summary | |
|---|---|
long |
getTimeMicroseconds()
Returns the time in microseconds since the last call to reset or since the Clock was created. |
long |
getTimeMilliseconds()
Returns the time in milliseconds since the last call to reset or since the Clock was created. |
void |
reset()
Resets clock by setting start time to current. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Clock()
| Method Detail |
|---|
public void reset()
public long getTimeMilliseconds()
public long getTimeMicroseconds()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||