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.
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
CPUmonitor
public CPUmonitor()
getCPUload
public static short getCPUload()
getFreeSystemMemory
public static long getFreeSystemMemory()
getAvailSystemMemory
public static long getAvailSystemMemory()