Class CalculatePerformanceMetricAlgorithm


  • public class CalculatePerformanceMetricAlgorithm
    extends java.lang.Object
    • Constructor Detail

      • CalculatePerformanceMetricAlgorithm

        public CalculatePerformanceMetricAlgorithm()
    • Method Detail

      • compute

        public static TimedPerformanceMeasurement<java.lang.Double> compute​(TimedPerformanceMetric metric,
                                                                            LifecycleModel model)
        Computes the performance metrics by evaluating the expression. The values for the variables that are set in the expression are obtained from the lifecycle model for which the metric is being computed.
        Parameters:
        metric - The performance metric
        model - The lifecycle model
        Returns:
        The value