org.jzy3d.maths
Class TicToc
java.lang.Object
org.jzy3d.maths.TicToc
public class TicToc
- extends java.lang.Object
TicToc allows measuring elapsed time between a call to tic()
and a call to toc().
Retrieving elapsed time is done by calling either: elapsedNanosecond(),
elapsedMilisecond() or elapsedSecond().
- Author:
- Martin Pernollet
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TicToc
public TicToc()
tic
public void tic()
toc
public void toc()
elapsedNanosecond
public long elapsedNanosecond()
elapsedMicrosecond
public double elapsedMicrosecond()
elapsedMilisecond
public double elapsedMilisecond()
elapsedSecond
public double elapsedSecond()