umontreal.iro.lecuyer.util
Class SystemTimeChrono
- java.lang.Object
-
- umontreal.iro.lecuyer.util.AbstractChrono
-
- umontreal.iro.lecuyer.util.SystemTimeChrono
-
public class SystemTimeChrono extends AbstractChrono
Extends theAbstractChronoclass to compute the total system time using Java's builtin System.nanoTime. The system can be used as a rough approximation of the CPU time taken by a program if no other tasks are executed on the host while the program is running.
-
-
Constructor Summary
Constructors Constructor and Description SystemTimeChrono()Constructs a new chrono object and initializes it to zero.
-
Method Summary
-
Methods inherited from class umontreal.iro.lecuyer.util.AbstractChrono
format, format, getHours, getMinutes, getSeconds, init
-
-
DMelt 3.0 © DataMelt by jWork.ORG