Package edu.cmu.tetrad.util
Class MillisecondTimes
java.lang.Object
edu.cmu.tetrad.util.MillisecondTimes
Reports elapsed time in wall time, user time, and CPU time
in milliseconds. User time and CPU time are for the current thread. The
user needs to set which type of time is reported, and it is reported this
way throughout the application wherever timeMillis() is called, though
for particular cases separate methods are provided to get particular
times.
- Author:
- josephramsey
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic long
static long
static long
static long
-
Field Details
-
type
-
-
Constructor Details
-
MillisecondTimes
public MillisecondTimes()
-
-
Method Details
-
wallTimeMillis
public static long wallTimeMillis() -
userTimeMillis
public static long userTimeMillis() -
cpuTimeMillis
public static long cpuTimeMillis() -
timeMillis
public static long timeMillis()
-