Class ResponseTimeCalculator

java.lang.Object
org.palladiosimulator.metricspec.metricentity.MetricEntity
org.palladiosimulator.measurementframework.listener.MeasurementSource
All Implemented Interfaces:
org.palladiosimulator.commons.designpatterns.IAbstractObservable<org.palladiosimulator.measurementframework.listener.IMeasurementSourceListener>, org.palladiosimulator.metricspec.metricentity.IMetricEntity, IProbeListener

public class ResponseTimeCalculator extends TimeSpanCalculator
Calculates a time span representing the response time as defined by the RESPONSE_TIME_METRIC_TUPLE. It expects a probe giving the start and a probe giving the end point in time of an operation call. The final result is a (start point in time, response time)-tuple.
See Also:
  • Constructor Details

    • ResponseTimeCalculator

      public ResponseTimeCalculator(org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint measuringPoint, List<Probe> probes)
      Default Constructor.
      Parameters:
      measuringPoint - MeasuringPoint as needed by the superclass.
      probes - The two probes for starting point of the operation call and final point of the operation call.