Class MetricDescriptionUtil
- java.lang.Object
-
- org.palladiosimulator.indirections.monitoring.simulizar.MetricDescriptionUtil
-
public final class MetricDescriptionUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description MetricDescriptionUtil()
-
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.EventProbeListderiveAverageProbe(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.EventProbeListderiveSummingProbe(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>
voidobserveProbeRawTo(org.palladiosimulator.probeframework.probes.Probe probe, Consumer<javax.measure.Measure<V,Q>> consumer)
static void
reset()
-
-
-
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()
-
-