|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.sparql.benchmarking.stats.impl.OperationMixStatsImpl
public class OperationMixStatsImpl
Basic implementation of operation mix statistics
| Constructor Summary | |
|---|---|
OperationMixStatsImpl()
|
|
| Method Summary | |
|---|---|
void |
add(OperationMixRun run)
Adds information for the given run to the statistics |
void |
clear()
Clears all run statistics |
long |
getActualAverageRuntime()
Gets the average actual runtime for the mix over all runs (takes into account parallelization of operations) |
double |
getActualOperationMixesPerHour()
Calculates the number of operation mixes per hour that could be executed based on the OperationMixStats.getActualAverageRuntime() |
long |
getActualRuntime()
Gets the actual runtime for the mix over all runs (takes into account queries that run in parallel) |
long |
getAverageResponseTime()
Gets the average response time for the mix |
long |
getAverageRuntime()
Gets the average runtime for the mix over all runs |
Map<Integer,List<OperationRun>> |
getCategorizedErrors()
Gets the information for all errors grouped by category |
double |
getGeometricAverageRuntime()
Gets the average runtime for the mix over all runs (geometric mean) |
long |
getMaximumRuntime()
Gets the maximum runtime for a mix |
long |
getMinimumRuntime()
Gets the minimum runtime for a mix |
double |
getOperationMixesPerHour()
Calculates the number of operation mixes per hour that could be executed based on the average runtime of the operation mix |
long |
getRunCount()
Gets the number of runs for which information has been recorded |
Iterator<OperationMixRun> |
getRuns()
Gets an iterator over the operation mix runs |
double |
getStandardDeviation()
Gets the standard deviation in mix runtime |
ParallelTimer |
getTimer()
Gets the parallel timer used to track actual runtime |
long |
getTotalErrors()
Gets the total number of errors over all runs |
long |
getTotalOperations()
Gets the total number of operations run across all mix runs |
long |
getTotalResponseTime()
Gets the total response time over all runs |
long |
getTotalRuntime()
Gets the total runtime over all runs |
double |
getVariance()
Gets the variance in mix runtime |
void |
trim(int outliers)
Trims the worst and best N results |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OperationMixStatsImpl()
| Method Detail |
|---|
public Iterator<OperationMixRun> getRuns()
OperationMixStats
getRuns in interface OperationMixStatspublic long getRunCount()
OperationMixStats
getRunCount in interface OperationMixStatspublic void clear()
OperationMixStats
clear in interface OperationMixStatspublic void trim(int outliers)
OperationMixStats
trim in interface OperationMixStatsoutliers - Number of outliers to trimpublic long getTotalOperations()
OperationMixStats
getTotalOperations in interface OperationMixStatspublic long getTotalErrors()
OperationMixStats
getTotalErrors in interface OperationMixStatspublic Map<Integer,List<OperationRun>> getCategorizedErrors()
OperationMixStats
getCategorizedErrors in interface OperationMixStatspublic long getTotalRuntime()
OperationMixStats
getTotalRuntime in interface OperationMixStatspublic long getActualRuntime()
OperationMixStats
getActualRuntime in interface OperationMixStatspublic long getTotalResponseTime()
OperationMixStats
getTotalResponseTime in interface OperationMixStatspublic long getAverageRuntime()
OperationMixStats
getAverageRuntime in interface OperationMixStatspublic long getActualAverageRuntime()
OperationMixStats
getActualAverageRuntime in interface OperationMixStatspublic long getAverageResponseTime()
OperationMixStats
getAverageResponseTime in interface OperationMixStatspublic double getGeometricAverageRuntime()
OperationMixStats
getGeometricAverageRuntime in interface OperationMixStatspublic long getMinimumRuntime()
OperationMixStats
getMinimumRuntime in interface OperationMixStatspublic long getMaximumRuntime()
OperationMixStats
getMaximumRuntime in interface OperationMixStatspublic double getVariance()
OperationMixStats
getVariance in interface OperationMixStatspublic double getStandardDeviation()
OperationMixStats
getStandardDeviation in interface OperationMixStatspublic double getOperationMixesPerHour()
OperationMixStats
getOperationMixesPerHour in interface OperationMixStatspublic double getActualOperationMixesPerHour()
OperationMixStatsOperationMixStats.getActualAverageRuntime()
getActualOperationMixesPerHour in interface OperationMixStatspublic ParallelTimer getTimer()
OperationMixStats
getTimer in interface OperationMixStatspublic void add(OperationMixRun run)
OperationMixStats
add in interface OperationMixStatsrun - Run information
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||