Modifier and Type | Field and Description |
---|---|
(package private) boolean |
isActive |
(package private) ThreadInfo |
prevThr |
Constructor and Description |
---|
ThreadInfo(String n) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
calculate(Snapshot ms,
SystemInfo si) |
(package private) void |
clear() |
Object |
clone() |
(package private) void |
extractInfo(StatTuple st)
extract thread info from the StatTuple, setting member data as appropriate
|
(package private) void |
extractInfo(StatTuplev3 st) |
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.
|
(package private) void |
prettyPrint()
Pretty-print a ThreadInfo object to the standard output.
|
(package private) void |
saveForNextCycle() |
String |
toString()
Returns a string representation of the ThreadInfo object.
|
boolean isActive
ThreadInfo prevThr
ThreadInfo(String n)
void extractInfo(StatTuplev3 st)
void extractInfo(StatTuple st)
st
- void saveForNextCycle()
void calculate(Snapshot ms, SystemInfo si)
public 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 String toString()
void prettyPrint()
void clear()
Copyright © 2015–2018 Cloud Software Group, Inc.. All rights reserved.