org.eclipse.test.internal.performance.eval
Class StatisticsSession
java.lang.Object
org.eclipse.test.internal.performance.eval.StatisticsSession
public class StatisticsSession
- extends java.lang.Object
- Since:
- 3.1
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatisticsSession
public StatisticsSession(DataPoint[] datapoints)
getAverage
public double getAverage(Dim dimension)
getSum
public long getSum(Dim dimension)
getCount
public long getCount(Dim dimension)
getStddev
public double getStddev(Dim dimension)
getConfidenceInterval
public double[] getConfidenceInterval(Dim dimension,
StatisticsUtil.Percentile percentile)
- Returns the confidence interval for the given dimension and the percentile.
- Parameters:
dimension
- the dimensionpercentile
- the percentile
- Returns:
- an array of length two, with the lower and upper bounds of the confidence interval
contains
public boolean contains(Dim dimension)