public final class BenchmarkResult extends AbstractResultContainer<ClassResult>
BenchmarkResult
is generated per
Benchmark-Run. The different
components are ClassResult
objects. This class is the container for
the results of a Benchmark and therefore the input for different Outputs.Benchmark
,
AbstractOutput
elements
Constructor and Description |
---|
BenchmarkResult(AbstractOutput... paramOutputs)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addData(Method meth,
AbstractMeter meter,
double data)
Adding a dataset to a given meter and adapting the underlaying result
model.
|
void |
addException(AbstractPerfidixMethodException exec)
Adding an exception to this result.
|
String |
getElementName()
Returns the name of the related element where these results belong to.
|
Set<AbstractPerfidixMethodException> |
getExceptions()
Getter for member exceptions.
|
String |
toString() |
getIncludedResults, getResultForObject
addData, getConf05, getConf95, getNumberOfResult, getRegisteredMeters, getRelatedElement, getResultSet, getStandardDeviation, max, mean, min, squareSum, sum
public BenchmarkResult(AbstractOutput... paramOutputs)
paramOutputs
- AbstractOutput
instances for listenerpublic String getElementName()
getElementName
in class AbstractResult
public void addData(Method meth, AbstractMeter meter, double data)
meth
- where the result is corresponding tometer
- where the result is corresponding todata
- the data itselfpublic void addException(AbstractPerfidixMethodException exec)
exec
- the exception stored to this resultpublic Set<AbstractPerfidixMethodException> getExceptions()
public String toString()
toString
in class AbstractResult
Copyright © 2013 University of Konstanz, Distributed Systems Group. All Rights Reserved.