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 the AbstractChrono
class 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 |
SystemTimeChrono()
Constructs a new chrono object and
initializes it to zero. |
SystemTimeChrono
public SystemTimeChrono()
- Constructs a new chrono object and
initializes it to zero.
To submit a bug or ask questions, send an e-mail to
Pierre L'Ecuyer.