Class Statistic

    • Constructor Detail

      • Statistic

        public Statistic​(String name)
    • Method Detail

      • getName

        public String getName()
      • add

        public void add​(long value)
      • getCall

        public long getCall()
      • getTotal

        public long getTotal()
      • getMax

        public long getMax()
      • getMin

        public long getMin()
      • getMean

        public double getMean()
      • getStandardDeviation

        public double getStandardDeviation()
        Compute Standard deviation (ecart type)
        Returns:
      • getSlopeOfLinearRegression

        public double getSlopeOfLinearRegression()
        Compute splope of Linear regression (only the a in y=ax+b)
        Returns:
      • formatValue

        public String formatValue​(long value)
        You can change implementation of this method in children class (ex: convert to second for time, or 'Mo' for memory)
        Parameters:
        value -
        Returns: