Class SliceSummary


  • public class SliceSummary
    extends java.lang.Object
    summarize long data set (durations) measured within a elapsed time slice
    Author:
    Guy Vachet
    • Constructor Detail

      • SliceSummary

        public SliceSummary​(long minTime,
                            long maxTime,
                            ListOfLong data)
        Parameters:
        minTime - the min time stamp of elapsed time (included)
        maxTime - the max time stamp of elapsed time (excluded)
        data - is a set of times (response times) to be summarize
    • Method Detail

      • getMinTimestamp

        public long getMinTimestamp()
        Returns:
        the lower timestamp within the slice (included)
      • getMaxTimestamp

        public long getMaxTimestamp()
        Returns:
        the upper timestamp of within the slice (excluded)
      • getDataNb

        public int getDataNb()
        Returns:
        the data (that is durations) number within the slice
      • getMinData

        public long getMinData()
        Returns:
        min value of durations
      • getMaxData

        public long getMaxData()
        Returns:
        max value of durations
      • getDataMedian

        public long getDataMedian()
        Returns:
        median of durations
      • getDataMean

        public double getDataMean()
        Returns:
        average of durations
      • getDataStd

        public double getDataStd()
        Returns:
        standard deviation of durations
      • displayStatistics

        public java.lang.String displayStatistics()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object