org.opengts.util
Class OSTools.CpuUsage

java.lang.Object
  extended by org.opengts.util.OSTools.CpuUsage
Enclosing class:
OSTools

public static class OSTools.CpuUsage
extends java.lang.Object


Constructor Summary
OSTools.CpuUsage()
           
 
Method Summary
 void clear()
           
 int getAvailableProcessors()
           
 double getCpuSpeedMHz()
           
 java.lang.String getCpuVendorID()
           
 double getProcessCpuLoad()
           
 long getProcessCpuTimeNS()
           
 double getSystemCpuLoad()
           
 double getSystemLoadAverage()
           
 boolean hasCpuSpeedMHz()
           
 boolean hasCpuVendorID()
           
 void setAvailableProcessors(int v)
           
 void setCpuSpeedMHz(double v)
           
 void setCpuVendorID(java.lang.String v)
           
 void setProcessCpuLoad(double v)
           
 void setProcessCpuTimeNS(long v)
           
 void setSystemCpuLoad(double v)
           
 void setSystemLoadAverage(double v)
           
 java.lang.String toString(boolean longFmt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSTools.CpuUsage

public OSTools.CpuUsage()
Method Detail

clear

public void clear()

setAvailableProcessors

public void setAvailableProcessors(int v)

getAvailableProcessors

public int getAvailableProcessors()

setCpuVendorID

public void setCpuVendorID(java.lang.String v)

getCpuVendorID

public java.lang.String getCpuVendorID()

hasCpuVendorID

public boolean hasCpuVendorID()

setCpuSpeedMHz

public void setCpuSpeedMHz(double v)

getCpuSpeedMHz

public double getCpuSpeedMHz()

hasCpuSpeedMHz

public boolean hasCpuSpeedMHz()

setProcessCpuLoad

public void setProcessCpuLoad(double v)

getProcessCpuLoad

public double getProcessCpuLoad()

setProcessCpuTimeNS

public void setProcessCpuTimeNS(long v)

getProcessCpuTimeNS

public long getProcessCpuTimeNS()

setSystemCpuLoad

public void setSystemCpuLoad(double v)

getSystemCpuLoad

public double getSystemCpuLoad()

setSystemLoadAverage

public void setSystemLoadAverage(double v)

getSystemLoadAverage

public double getSystemLoadAverage()

toString

public java.lang.String toString(boolean longFmt)