public class PS_ResourceReport extends PS_Report
Modifier and Type | Method and Description |
---|---|
CPUTime |
getCputime()
Returns a
CPUTime object, which contains the user time
(in seconds) and system time (in seconds) that the program used. |
int |
getExitCode()
Returns the exit code of the program.
|
java.lang.String |
getExitType()
Returns the exit type of the program, one of "exit"
or "signal".
|
java.util.Map<java.lang.Float,java.lang.Long> |
getLoadavgMap()
Returns a map containing pairs of load average -> the number of
samples having this load average.
|
float |
getLoadavgsMax()
Returns the maximum value of load average.
|
float |
getLoadavgsMin()
Returns the minimum value of load average.
|
long |
getLoadavgsOutofrange()
Returns the number of measurements when load average is out of range
(currently means greater than or equal to 100).
|
float |
getLoadavgsResolution()
Returns the resolution of the measured load average values.
|
long |
getMajorFaults()
Returns the number of major faults that occurred
in executing the program.
|
java.util.Map<java.lang.Integer,java.lang.Float> |
getMaxloadMap()
Returns a map containing pairs of time interval (in seconds)
-> the maximum load in the time interval.
|
float |
getMaxrss()
Returns the maximum size of resident memory in mega bytes (MB)
that this program used.
|
float |
getMaxvm()
Returns the maximum size of virtual memory in mega bytes (MB)
that this program used.
|
long |
getMinorFaults()
Returns the number of minor faults that occurred
in executing the program.
|
long |
getPid()
Returns the process ID (pid) of the program.
|
long |
getSamples()
Returns the total number of samples.
|
int |
getSamplesFrequency()
Returns the sampling frequency, in seconds.
|
java.util.Date |
getStartTime()
Returns the start time of the program.
|
long |
getSwaps()
Returns the number of swaps that occurred in executing the program.
|
float |
getSystemTime()
Returns the system time in seconds that the program used.
|
float |
getUserTime()
Returns the user time in seconds that the program used.
|
java.lang.String |
toString()
Returns a string representation of this resource report.
|
getGenerator, getVersion, getXmlBuf, newInstance, newInstance, newInstance, newInstanceGenXML, setXmlBuf
public java.lang.String toString()
public long getPid()
public java.util.Date getStartTime()
public int getExitCode()
public java.lang.String getExitType()
public int getSamplesFrequency()
public long getSamples()
public float getLoadavgsMin()
public float getLoadavgsMax()
public float getLoadavgsResolution()
public long getLoadavgsOutofrange()
public java.util.Map<java.lang.Float,java.lang.Long> getLoadavgMap()
public java.util.Map<java.lang.Integer,java.lang.Float> getMaxloadMap()
public float getMaxrss()
public float getMaxvm()
public CPUTime getCputime()
CPUTime
object, which contains the user time
(in seconds) and system time (in seconds) that the program used.public float getUserTime()
public float getSystemTime()
public long getMajorFaults()
public long getMinorFaults()
public long getSwaps()