public class ExecutionRun
Each test (i.e. class PerfTestExecution) may have multiple repeats, this class represent a single repeat/run
class PerfTestExecution| Constructor and Description |
|---|
ExecutionRun(PerfTestExecution execution,
long relativeStartTime,
long elapsedTime,
ExecutionRunResultDetails resultDetails)
Each test (i.e.
class PerfTestExecution) may have multiple repeats, this class represent a single repeat/run |
| Modifier and Type | Method and Description |
|---|---|
PerfTestExecution |
component1()
Parent execution
|
long |
component2()
Start time in nanoseconds relative to execution start time
|
long |
component3()
Elapsed time in ms
|
ExecutionRunResultDetails |
component4() |
ExecutionRun |
copy(PerfTestExecution execution,
long relativeStartTime,
long elapsedTime,
ExecutionRunResultDetails resultDetails)
Each test (i.e.
class PerfTestExecution) may have multiple repeats, this class represent a single repeat/run |
boolean |
equals(java.lang.Object p) |
long |
getElapsedTime()
Elapsed time in ms
|
PerfTestExecution |
getExecution()
Parent execution
|
long |
getRelativeStartTime()
Start time in nanoseconds relative to execution start time
|
ExecutionRunResultDetails |
getResultDetails() |
long |
getStartTime() |
int |
hashCode() |
boolean |
isError() |
void |
measureElapsed()
Set elapsed time as difference before current time and start time
|
void |
setElapsedTime(long p)
Elapsed time in ms
|
void |
setRelativeStartTime(long p)
Start time in nanoseconds relative to execution start time
|
void |
setResultDetails(ExecutionRunResultDetails p) |
java.lang.String |
toString() |
public ExecutionRun(PerfTestExecution execution, long relativeStartTime, long elapsedTime, ExecutionRunResultDetails resultDetails)
Each test (i.e. class PerfTestExecution) may have multiple repeats, this class represent a single repeat/run
execution - Parent executionrelativeStartTime - Start time in nanoseconds relative to execution start time (i.e. this particular repeat start minus parent execution start)elapsedTime - Elapsed time in msclass PerfTestExecutionpublic long getStartTime()
public boolean isError()
public void measureElapsed()
Set elapsed time as difference before current time and start time
public java.lang.String toString()
public PerfTestExecution getExecution()
Parent execution
public long getRelativeStartTime()
Start time in nanoseconds relative to execution start time
(i.e. this particular repeat start minus parent execution start)
public void setRelativeStartTime(long p)
Start time in nanoseconds relative to execution start time
(i.e. this particular repeat start minus parent execution start)
p - Start time in nanoseconds relative to execution start time (i.e. this particular repeat start minus parent execution start)public long getElapsedTime()
Elapsed time in ms
public void setElapsedTime(long p)
Elapsed time in ms
p - Elapsed time in mspublic ExecutionRunResultDetails getResultDetails()
public void setResultDetails(ExecutionRunResultDetails p)
public PerfTestExecution component1()
Parent execution
public long component2()
Start time in nanoseconds relative to execution start time
(i.e. this particular repeat start minus parent execution start)
public long component3()
Elapsed time in ms
public ExecutionRunResultDetails component4()
public ExecutionRun copy(PerfTestExecution execution, long relativeStartTime, long elapsedTime, ExecutionRunResultDetails resultDetails)
Each test (i.e. class PerfTestExecution) may have multiple repeats, this class represent a single repeat/run
class PerfTestExecutionpublic int hashCode()
public boolean equals(java.lang.Object p)