Class ResultsModel.MeasureValueImpl

java.lang.Object
common.definitions.ResultsModel.MeasureValueImpl
All Implemented Interfaces:
MeasureValue
Enclosing class:
ResultsModel

public class ResultsModel.MeasureValueImpl extends Object implements MeasureValue
Implementation of Value interface
Author:
Bertoli Marco Date: 23-set-2005 Time: 15.57.43 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 Details

    • MeasureValueImpl

      public MeasureValueImpl(TempMeasure tm)
  • Method Details

    • getMeanValue

      public double getMeanValue()
      Specified by:
      getMeanValue in interface MeasureValue
      Returns:
      the mean value
    • getUpperBound

      public double getUpperBound()
      Specified by:
      getUpperBound in interface MeasureValue
      Returns:
      the upper bound of value. Infinity if not set
    • getLowerBound

      public double getLowerBound()
      Specified by:
      getLowerBound in interface MeasureValue
      Returns:
      the lower bound of value. Infinity if not set
    • getLastIntervalAvgValue

      public double getLastIntervalAvgValue()
      Specified by:
      getLastIntervalAvgValue in interface MeasureValue
      Returns:
      the last measured value
    • getSimTime

      public double getSimTime()
      Specified by:
      getSimTime in interface MeasureValue
      Returns:
      the simulation time