Class StoredResultsModel.MeasureValueImpl
java.lang.Object
common.definitions.StoredResultsModel.MeasureValueImpl
- All Implemented Interfaces:
MeasureValue
- Enclosing class:
StoredResultsModel
Inner class that implements Value interface
- Author:
- Bertoli Marco Date: 3-ott-2005 Time: 14.10.50 Modified by Ashanka (May 2010): Patch: Multi-Sink Perf. Index Description: Added new Performance index for capturing 1. global response time (ResponseTime per Sink) 2. global throughput (Throughput per Sink) each sink per class.
-
Constructor Summary
ConstructorsConstructorDescriptionMeasureValueImpl(double meanValue, double lastIntervalAvgValue, double simulationTime, double upperBound, double lowerBound) Creates a new MeasureValue object -
Method Summary
Modifier and TypeMethodDescriptiondoubledoubledoubledoubledouble
-
Constructor Details
-
MeasureValueImpl
public MeasureValueImpl(double meanValue, double lastIntervalAvgValue, double simulationTime, double upperBound, double lowerBound) Creates a new MeasureValue object- Parameters:
meanValue- mean value of the sampleupperBound- sample upper boundlowerBound- sample lower bound
-
-
Method Details
-
getMeanValue
public double getMeanValue()- Specified by:
getMeanValuein interfaceMeasureValue- Returns:
- the mean value
-
getUpperBound
public double getUpperBound()- Specified by:
getUpperBoundin interfaceMeasureValue- Returns:
- the upper bound of value. Infinity if not set
-
getLowerBound
public double getLowerBound()- Specified by:
getLowerBoundin interfaceMeasureValue- Returns:
- the lower bound of value. Infinity if not set
-
getLastIntervalAvgValue
public double getLastIntervalAvgValue()- Specified by:
getLastIntervalAvgValuein interfaceMeasureValue- Returns:
- the last measured value
-
getSimTime
public double getSimTime()- Specified by:
getSimTimein interfaceMeasureValue- Returns:
- the simulation time
-