SSJ
V. 2.6.

umontreal.iro.lecuyer.util
Class GlobalCPUTimeChrono

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

public class GlobalCPUTimeChrono
extends AbstractChrono

Extends the AbstractChrono class to compute the global CPU time used by the Java Virtual Machine. This includes CPU time taken by any thread, including the garbage collector, class loader, etc.

Part of this class is implemented in the C language and the implementation is unfortunately operating system-dependent. The C functions for the current class have been compiled on a 32-bit machine running Linux. For a platform-independent CPU timer (valid only with Java-1.5 or later), one should use the class ThreadCPUTimeChrono which is programmed directly in Java.


Constructor Summary
GlobalCPUTimeChrono()
          Constructs a 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

GlobalCPUTimeChrono

public GlobalCPUTimeChrono()
Constructs a Chrono object and initializes it to zero.


SSJ
V. 2.6.

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