public class ThreadCpu
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ThreadCpu() |
Modifier and Type | Method and Description |
---|---|
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() |
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
Copyright ? 2004-2011 Hyperic. All Rights Reserved.