V. 2.6.

Class SystemTimeChrono

  extended by umontreal.iro.lecuyer.util.AbstractChrono
      extended by 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
          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
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public SystemTimeChrono()
Constructs a new chrono object and initializes it to zero.

V. 2.6.

To submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.