Class SliceSummary
- java.lang.Object
-
- org.ow2.clif.analyze.statistics.util.data.SliceSummary
-
public class SliceSummary extends java.lang.Objectsummarize long data set (durations) measured within a elapsed time slice- Author:
- Guy Vachet
-
-
Constructor Summary
Constructors Constructor Description SliceSummary(long minTime, long maxTime, ListOfLong data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringdisplayStatistics()doublegetDataMean()longgetDataMedian()intgetDataNb()doublegetDataStd()longgetMaxData()longgetMaxTimestamp()longgetMinData()longgetMinTimestamp()java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
-