org.opengts.util
Class OSTools.CpuUsage
java.lang.Object
org.opengts.util.OSTools.CpuUsage
- Enclosing class:
- OSTools
public static class OSTools.CpuUsage
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OSTools.CpuUsage
public OSTools.CpuUsage()
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)