SSJ
V. labo.

umontreal.iro.lecuyer.util
Class Chrono

java.lang.Object
  extended by umontreal.iro.lecuyer.util.AbstractChrono
      extended by umontreal.iro.lecuyer.util.Chrono

public class Chrono
extends AbstractChrono

Chrono

The Chrono class extends the umontreal.iro.lecuyer.utilAbstractChrono class and computes the CPU time for the current thread only. This is the simplest way to use chronos. Classes AbstractChrono, umontreal.iro.lecuyer.utilSystemTimeChrono, umontreal.iro.lecuyer.utilGlobalCPUTimeChrono and umontreal.iro.lecuyer.utilThreadCPUTimeChrono provide different chronos implementations. See these classes to learn more about SSJ chronos, if problems appear with class Chrono.


Constructor Summary
Chrono()
          .
 
Method Summary
static Chrono createForSingleThread()
          .
 
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

Chrono

public Chrono()
. \begin{tabb}Constructs a \texttt{Chrono} object and
 initializes it to zero.
 \end{tabb}

Method Detail

createForSingleThread

public static Chrono createForSingleThread()
. \begin{tabb}
 Creates a \texttt{Chrono} instance adapted for a program
 using a ...
 ...e obtained CPU times
 will differ depending on the used Java version.
 \end{tabb}
the constructed timer.


SSJ
V. labo.

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