public class UnitRegressionStat
extends java.lang.Object
Constructor and Description |
---|
UnitRegressionStat()
Empty Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
addExecTime(long lExecTime)
Add another run execution time
|
java.lang.String |
displayString(java.lang.String strRegressionUnit)
Return the string version of the statistics
|
boolean |
generateStat()
Generate the statistics across all the execution times generated
|
long |
getInitializationDelay()
Get the delay when the regressor is invoked for the first time
|
long |
getMax()
Get the Maximum in the execution time
|
long |
getMean()
Get the Mean in the execution time
|
long |
getMin()
Get the Minimum in the execution time
|
int |
getRuns()
Get the number of runs for the statistics
|
long |
getVariance()
Get the variance in the execution time
|
public boolean addExecTime(long lExecTime)
lExecTime
- Execution Timepublic boolean generateStat()
public int getRuns()
public long getMean()
public long getMin()
public long getMax()
public long getVariance()
public long getInitializationDelay()
public java.lang.String displayString(java.lang.String strRegressionUnit)
strRegressionUnit
- Name the unit for which the regression run was done