public class ProcessTree
extends java.lang.Object
The following pruning techniques are used:
Modifier and Type | Field and Description |
---|---|
long |
duration
The duration of the process tree (measured from the start time of
the first process to the end time of the last process).
|
java.util.Date |
endTime |
int |
numProc
The number of all processes in the tree.
|
java.util.List |
processTree
The
Process tree. |
int |
samplePeriod
Statistics sampling period.
|
java.util.Date |
startTime
The start time of the graph
|
Constructor and Description |
---|
ProcessTree(PsStats psStats,
java.lang.String monitoredApp,
boolean prune)
Creates a new process tree from the specified list of
Process instances. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
public java.util.Date startTime
public java.util.Date endTime
public long duration
public int samplePeriod
public int numProc
public java.util.List processTree
Process
tree.public ProcessTree(PsStats psStats, java.lang.String monitoredApp, boolean prune)
Process
instances.psStats
- process statisticsmonitoredApp
- monitored application (or null
if
the boot process is monitored)prune
- whether to prune the tree by removing sleepy and
short-living processes and merging threads