Class WaitingTimeCalculator

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
Direct Known Subclasses:
DemandBasedWaitingTimeCalculator

public class WaitingTimeCalculator extends TimeSpanCalculator
Calculates a time span representing the waiting time as defined by the WAITING_TIME_METRIC_TUPLE. It expects a probe giving the start of waiting and a probe giving the end of waiting, e.g., at a passive resource pool. The final result is a (start point in time, waiting time)-tuple.
See Also:
  • Constructor Details

    • WaitingTimeCalculator

      public WaitingTimeCalculator(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 waiting time and final point of waiting time.