|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hyperic.sigar.ThreadCpu
public class ThreadCpu
ThreadCpu sigar class.
Constructor Summary | |
---|---|
ThreadCpu()
|
Method Summary | |
---|---|
void |
gather(Sigar sigar,
long pid)
|
long |
getSys()
Get the Thread cpu kernel time. |
long |
getTotal()
Get the Thread cpu time (sum of User and Sys). |
long |
getUser()
Get the Thread cpu user time. |
java.util.Map |
toMap()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ThreadCpu()
Method Detail |
---|
public void gather(Sigar sigar, long pid) throws SigarException
SigarException
public long getUser()
Supported Platforms: AIX, HPUX, Linux, Solaris, Win32.
public long getSys()
Supported Platforms: AIX, HPUX, Linux, Solaris, Win32.
public long getTotal()
Supported Platforms: AIX, HPUX, Linux, Solaris, Win32.
public java.util.Map toMap()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |