public class Report
extends java.lang.Object
Constructor and Description |
---|
Report()
Creates a new instance of a profiling report.
|
Modifier and Type | Method and Description |
---|---|
static Report |
createAggregatedReport(java.util.List<Report> reportsList)
Creates a new and averaged report over the set of input reports.
|
long |
getEdgesCounter()
Returns the value of the overall number of explored edges.
|
long |
getExecutionsCounter()
Returns the value of the overall number of executed runs of tasks.
|
long |
getExecutionTime()
Returns the overall execution time.
|
long |
getTaskCounter()
Returns the value of the overall number of all required tasks.
|
java.util.Map<Intent.Type,java.lang.Long> |
getTaskCounters()
Returns the numbers of required tasks separated by intent types.
|
java.lang.Long |
getTaskCounters(Intent.Type intentType)
Returns the numbers of required tasks for the given intent type.
|
long |
getVerticesCounter()
Returns the value of the overall number of explored vertices.
|
void |
increaseEdgesCounter()
Increases the current value of explored edges count by 1.
|
void |
increaseExecutionsCounter()
Increases the current value of executed runs of tasks count by 1.
|
void |
increaseTaskCounters(Intent.Type intentType)
Increases the current value of required tasks count by 1.
|
void |
increaseVerticesCounter()
Increases the current value of explored vertices count by 1.
|
void |
setExecutionTime(long executionTime)
Sets the overall execution time.
|
public long getExecutionTime()
public void setExecutionTime(long executionTime)
executionTime
- Execution time in miliseconds to be set.public long getEdgesCounter()
public void increaseEdgesCounter()
public long getVerticesCounter()
public void increaseVerticesCounter()
public long getTaskCounter()
public java.util.Map<Intent.Type,java.lang.Long> getTaskCounters()
public java.lang.Long getTaskCounters(Intent.Type intentType)
intentType
- Associated intent type selection.public void increaseTaskCounters(Intent.Type intentType)
intentType
- Associated intent type selection.public long getExecutionsCounter()
public void increaseExecutionsCounter()
public static Report createAggregatedReport(java.util.List<Report> reportsList)
reportsList
- List of input reports to be aggregated.