public class PerformanceData extends java.lang.Object implements Resetable, java.io.Serializable
The properties of this object are definied as follows:
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
Constructor and Description |
---|
PerformanceData()
Constructs a PerformanceData object.
|
Modifier and Type | Method and Description |
---|---|
long |
getAverageExecutionTime()
Returns property averageExecutionTime
|
double |
getAverageMemoryRequired()
Returns property averageMemoryRequired
|
long |
getMaximumExecutionTime()
Returns property maximumExecutionTime
|
double |
getMaximumMemoryRequired()
Returns property maximumMemoryRequired
|
long |
getMemTotalNumberOfExecutions()
Returns property memTotalNumberOfExecutions
|
long |
getMinimumExecutionTime()
Returns property minimumExecutionTime
|
double |
getMinimumMemoryRequired()
Returns property minimumMemoryRequired
|
long |
getTotalExecutionTime()
Returns property totalExecutionTime
|
double |
getTotalMemoryRequired()
Returns property totalMemoryRequired
|
long |
getTotalNumberOfExecutions()
Returns property totalNumberOfExecutions
|
void |
increaseTotalExecutionTime(long pTime)
Increases the totalExecutionTime by the amount in pTime.
|
void |
increaseTotalMemoryRequired(double pMemory)
Increases the totalMemoryRequired by the amount in pMemory.
|
void |
reset()
Resets the properties of this object back to their defaults
|
void |
resetMemoryData()
Resets the properties of this object back to their defaults
|
public void increaseTotalExecutionTime(long pTime)
pTime
- the amount to increment mTotalExecutionTime by.public void increaseTotalMemoryRequired(double pMemory)
pMemory
- the amount to increment mTotalMemoryRequired by.public void reset()
public void resetMemoryData()
public long getMinimumExecutionTime()
public long getMaximumExecutionTime()
public long getTotalNumberOfExecutions()
public long getTotalExecutionTime()
public long getAverageExecutionTime()
public long getMemTotalNumberOfExecutions()
public double getMinimumMemoryRequired()
public double getMaximumMemoryRequired()
public double getTotalMemoryRequired()
public double getAverageMemoryRequired()