public class ExecutionInfo
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAnnotation()
Returns the string that was optionally set by the user as
a PerfSuite "annotation" element at the time at
which the measurement was taken.
|
java.lang.String |
getCommand()
Returns a string corresponding to the name of the executable
that was measured.
|
CPUTime |
getCPUTime()
Returns the CPU time consumed by the process/thread during the
measurement.
|
java.util.Date |
getDate()
Returns a Date object corresponding to the time at which the
PerfSuite XML document was created (normally the end of the
measurement period).
|
java.lang.String |
getDomainName()
Returns the domain name of the computer on which the measurement
was taken.
|
java.lang.String |
getHostName()
Returns the host name of the computer on which the measurement
was taken.
|
java.lang.String |
getMD5Sum()
Returns a string corresponding to an MD5 checksum of the
executable, if present in the document.
|
long |
getPid()
Returns the process id (PID) of the program that was measured.
|
long |
getThreadId()
Returns the zero-based thread id of the thread that was measured;
please note that this is the id internal to the program,
not the OS thread id.
|
java.lang.String |
getUserName()
Returns the login/user name associated with the measurement.
|
float |
getWallSecs()
Returns the total wall clock time (elapsed seconds) between
the time that measurement began and ended.
|
long |
getWallTicks()
Returns the total wall clock ticks (elapsed CPU cycles) between
the time that measurement began and ended.
|
java.lang.String |
toString()
Returns a string representation of this execution information object.
|
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Date getDate()
public java.lang.String getHostName()
public java.lang.String getDomainName()
null
.public long getPid()
public long getThreadId()
public java.lang.String getUserName()
public java.lang.String getCommand()
public java.lang.String getMD5Sum()
null
if not.public java.lang.String getAnnotation()
public long getWallTicks()
getWallTicks
. If return value is 0,
then use the value returned by getWallSecs
;
otherwise use the value returned by getWallTicks
.public float getWallSecs()
public CPUTime getCPUTime()