public class ThreadInfo
extends java.lang.Object
implements java.lang.Cloneable
Snapshot
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
java.lang.String |
getName()
Returns the name of the thread.
|
double |
getPercentCPU()
Returns the percent of CPU used by this thread, in microseconds.
|
double |
getPercentSystem()
Returns the percent of system CPU time used by this thread, in microseconds.
|
double |
getPercentUser()
Returns the percent of user CPU time used by this thread, in microseconds.
|
int |
getSystemTimeDelta()
Returns the system time spent by thread since the last Snapshot, in milliseconds.
|
long |
getSystemTimeDeltaUS()
Returns the system time spent by thread since the last Snapshot, in microseconds.
|
int |
getSystemTimeTotal()
Returns the system time spent by this thread since the StreamBase Server started, in millisecond.
|
long |
getSystemTimeTotalUS()
Returns the system time spent by this thread since the StreamBase Server started, in microsecond.
|
int |
getUserTimeDelta()
Returns the user time spent by thread since the last Snapshot, in millisecond.
|
long |
getUserTimeDeltaUS()
Returns the user time spent by thread since the last Snapshot, in microsecond.
|
int |
getUserTimeTotal()
Returns the user time spent by thread since the StreamBase Server started, in millisecond.
|
long |
getUserTimeTotalUS()
Returns the user time spent by thread since the StreamBase Server started, in microsecond.
|
java.lang.String |
toString()
Returns a string representation of the ThreadInfo object.
|
public java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.String getName()
public int getUserTimeTotal()
public long getUserTimeTotalUS()
public int getUserTimeDelta()
public long getUserTimeDeltaUS()
public int getSystemTimeTotal()
public long getSystemTimeTotalUS()
public int getSystemTimeDelta()
public long getSystemTimeDeltaUS()
public double getPercentCPU()
public double getPercentUser()
public double getPercentSystem()
public java.lang.String toString()
toString
in class java.lang.Object