Class MetricDescriptionUtil


  • public final class MetricDescriptionUtil
    extends Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Consumer<Consumer<org.palladiosimulator.measurementframework.measureprovider.IMeasureProvider>> attachToProbe​(org.palladiosimulator.probeframework.probes.Probe probe)  
      static <EventSourceType,​V,​Q extends javax.measure.quantity.Quantity>
      org.palladiosimulator.probeframework.probes.EventProbeList
      deriveAverageProbe​(org.palladiosimulator.metricspec.NumericalBaseMetricDescription metricDesciption, de.uka.ipd.sdq.simulation.abstractsimengine.ISimulationControl simulationControl, Consumer<Consumer<org.palladiosimulator.measurementframework.measureprovider.IMeasureProvider>> register)  
      static <EventSourceType,​V,​Q extends javax.measure.quantity.Quantity>
      org.palladiosimulator.probeframework.probes.EventProbeList
      deriveSummingProbe​(org.palladiosimulator.metricspec.NumericalBaseMetricDescription baseMetricDescription, de.uka.ipd.sdq.simulation.abstractsimengine.ISimulationControl simulationControl, Consumer<Consumer<org.palladiosimulator.measurementframework.measureprovider.IMeasureProvider>> register)  
      static org.palladiosimulator.metricspec.NumericalBaseMetricDescription getNonPointInTimeNumericalBaseMetric​(org.palladiosimulator.metricspec.MetricDescription metricDesciption)  
      static org.palladiosimulator.metricspec.NumericalBaseMetricDescription getOrCreateAveragingMetric​(org.palladiosimulator.metricspec.NumericalBaseMetricDescription baseMetric)  
      static org.palladiosimulator.metricspec.MetricSetDescription getOrCreateEventBaseMetricDescriptionWithTime​(org.palladiosimulator.metricspec.NumericalBaseMetricDescription baseMetricDescription)  
      static org.palladiosimulator.metricspec.NumericalBaseMetricDescription getOrCreateSummingMetric​(org.palladiosimulator.metricspec.NumericalBaseMetricDescription baseMetric)  
      static org.palladiosimulator.metricspec.MetricSetDescription getOrCreateTriggeredBaseMetricDescriptionWithTime​(org.palladiosimulator.metricspec.NumericalBaseMetricDescription baseMetricDescription)  
      static <V,​Q extends javax.measure.quantity.Quantity>
      void
      observeProbeRawTo​(org.palladiosimulator.probeframework.probes.Probe probe, Consumer<javax.measure.Measure<V,​Q>> consumer)  
      static void reset()  
    • Constructor Detail

      • MetricDescriptionUtil

        public MetricDescriptionUtil()
    • Method Detail

      • attachToProbe

        public static Consumer<Consumer<org.palladiosimulator.measurementframework.measureprovider.IMeasureProvider>> attachToProbe​(org.palladiosimulator.probeframework.probes.Probe probe)
      • deriveAverageProbe

        public static <EventSourceType,​V,​Q extends javax.measure.quantity.Quantity> org.palladiosimulator.probeframework.probes.EventProbeList deriveAverageProbe​(org.palladiosimulator.metricspec.NumericalBaseMetricDescription metricDesciption,
                                                                                                                                                                              de.uka.ipd.sdq.simulation.abstractsimengine.ISimulationControl simulationControl,
                                                                                                                                                                              Consumer<Consumer<org.palladiosimulator.measurementframework.measureprovider.IMeasureProvider>> register)
      • deriveSummingProbe

        public static <EventSourceType,​V,​Q extends javax.measure.quantity.Quantity> org.palladiosimulator.probeframework.probes.EventProbeList deriveSummingProbe​(org.palladiosimulator.metricspec.NumericalBaseMetricDescription baseMetricDescription,
                                                                                                                                                                              de.uka.ipd.sdq.simulation.abstractsimengine.ISimulationControl simulationControl,
                                                                                                                                                                              Consumer<Consumer<org.palladiosimulator.measurementframework.measureprovider.IMeasureProvider>> register)
      • getNonPointInTimeNumericalBaseMetric

        public static org.palladiosimulator.metricspec.NumericalBaseMetricDescription getNonPointInTimeNumericalBaseMetric​(org.palladiosimulator.metricspec.MetricDescription metricDesciption)
      • getOrCreateAveragingMetric

        public static org.palladiosimulator.metricspec.NumericalBaseMetricDescription getOrCreateAveragingMetric​(org.palladiosimulator.metricspec.NumericalBaseMetricDescription baseMetric)
      • getOrCreateEventBaseMetricDescriptionWithTime

        public static org.palladiosimulator.metricspec.MetricSetDescription getOrCreateEventBaseMetricDescriptionWithTime​(org.palladiosimulator.metricspec.NumericalBaseMetricDescription baseMetricDescription)
      • getOrCreateSummingMetric

        public static org.palladiosimulator.metricspec.NumericalBaseMetricDescription getOrCreateSummingMetric​(org.palladiosimulator.metricspec.NumericalBaseMetricDescription baseMetric)
      • getOrCreateTriggeredBaseMetricDescriptionWithTime

        public static org.palladiosimulator.metricspec.MetricSetDescription getOrCreateTriggeredBaseMetricDescriptionWithTime​(org.palladiosimulator.metricspec.NumericalBaseMetricDescription baseMetricDescription)
      • observeProbeRawTo

        public static <V,​Q extends javax.measure.quantity.Quantity> void observeProbeRawTo​(org.palladiosimulator.probeframework.probes.Probe probe,
                                                                                                 Consumer<javax.measure.Measure<V,​Q>> consumer)
      • reset

        public static void reset()