Class StoredResultsModel.Measure
java.lang.Object
common.definitions.StoredResultsModel.Measure
- Enclosing class:
StoredResultsModel
Inner class to store parameters of each measure
- 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.
-
Field Summary
FieldsModifier and TypeFieldDescriptiondoubleintintdoubleint -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSample(double meanValue, double lastIntervalAvgValue, double simulationTime, double upperBound, double lowerBound) Adds a new sample to current measure
-
Field Details
-
name
-
stationName
-
className
-
alpha
public double alpha -
precision
public double precision -
analyzedSamples
public int analyzedSamples -
discardedSamples
public int discardedSamples -
state
public int state -
type
-
nodeType
-
fileName
-
values
-
-
Constructor Details
-
Measure
public Measure(String name, String stationName, String className, double alpha, double precision, int analyzedSamples, int discardedSamples, int state, String type, String nodeType, String fileName) Construct a new Measure object- Parameters:
name- measure namestationName- reference station nameclassName- reference class namealpha- measure alphaprecision- measure precisionanalyzedSamples- number of analyzed samplesdiscardedSamples- number of discarded samplesstate- state of the measuretype- type of the measurenodeType- node type of the measurefileName- the output file name for the verbose measure
-
-
Method Details
-
addSample
public void addSample(double meanValue, double lastIntervalAvgValue, double simulationTime, double upperBound, double lowerBound) Adds a new sample to current measure- Parameters:
meanValue- mean value of the samplelastIntervalAvgValue-simulationTime-upperBound- upper bound of the samplelowerBound- lower bound of the sample
-