org.jzy3d.maths
Class TicToc
- java.lang.Object
-
- org.jzy3d.maths.TicToc
-
public class TicToc extends java.lang.ObjectTicTocallows measuring elapsed time between a call totic()and a call totoc(). Retrieving elapsed time is done by calling either:elapsedNanosecond(),elapsedMilisecond()orelapsedSecond().- See Also:
Timer}
-
-
Constructor Summary
Constructors Constructor and Description TicToc()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doubleelapsedMicrosecond()doubleelapsedMilisecond()longelapsedNanosecond()doubleelapsedSecond()longgetStart()longgetStop()longrawToc()voidtic()doubletoc()return time in seconddoubletocShow(java.lang.String message)
-
-
-
Field Detail
-
T
public static TicToc T
-
-
Method Detail
-
tic
public void tic()
-
toc
public double toc()
return time in second
-
tocShow
public double tocShow(java.lang.String message)
-
rawToc
public long rawToc()
-
elapsedNanosecond
public long elapsedNanosecond()
-
elapsedMicrosecond
public double elapsedMicrosecond()
-
elapsedMilisecond
public double elapsedMilisecond()
-
elapsedSecond
public double elapsedSecond()
-
getStart
public long getStart()
-
getStop
public long getStop()
-
-
DMelt 3.0 © DataMelt by jWork.ORG