umontreal.iro.lecuyer.util
Class GlobalCPUTimeChrono
- java.lang.Object
-
- umontreal.iro.lecuyer.util.AbstractChrono
-
- umontreal.iro.lecuyer.util.GlobalCPUTimeChrono
-
public class GlobalCPUTimeChrono extends AbstractChrono
Extends theAbstractChronoclass 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
ThreadCPUTimeChronowhich is programmed directly in Java.
-
-
Constructor Summary
Constructors Constructor and Description 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
-
-
DMelt 3.0 © DataMelt by jWork.ORG