org.iso.mpeg.mpegj.resource
Class CPUmonitor

java.lang.Object
  |
  +--org.iso.mpeg.mpegj.resource.CPUmonitor

public class CPUmonitor
extends java.lang.Object

The CPUmonitor class is used to monitor selected terminal activities including CPU load, and free/available system memory utilisation. Because the Java JDK does not provide hooks for retrieving this information directly from Java, the use of native code is needed. The current implementation makes use of the CPUmonitor DLL.


Constructor Summary
CPUmonitor()
           
 
Method Summary
static long getAvailSystemMemory()
           
static short getCPUload()
           
static long getFreeSystemMemory()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CPUmonitor

public CPUmonitor()
Method Detail

getCPUload

public static short getCPUload()

getFreeSystemMemory

public static long getFreeSystemMemory()

getAvailSystemMemory

public static long getAvailSystemMemory()