uk.org.skeet.jbench
Class TaskResults

java.lang.Object
  |
  +--uk.org.skeet.jbench.TaskResults

public class TaskResults
extends java.lang.Object

Class encapsulating the results of a series of tests.


Constructor Summary
TaskResults(BenchSuite config, long[] times)
          Constructor creating a TaskResults object from a configuration and an array of times.
 
Method Summary
 long getMean()
          Returns the mean of the included results
 long getStandardDeviation()
          Returns the standard deviation of the included results
 long getTime(int num)
          Returns the time for the specified result
 long getVariance()
          Returns the variance of the included results
 int includedSize()
          Returns how many results were included from the statistics
 boolean isExcluded(int num)
          Returns whether or not the specified result was excluded from statistics
 int size()
          Returns how many results were obtained
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskResults

public TaskResults(BenchSuite config,
                   long[] times)
Constructor creating a TaskResults object from a configuration and an array of times.
Method Detail

size

public int size()
Returns how many results were obtained

includedSize

public int includedSize()
Returns how many results were included from the statistics

getTime

public long getTime(int num)
Returns the time for the specified result

getMean

public long getMean()
Returns the mean of the included results

getVariance

public long getVariance()
Returns the variance of the included results

getStandardDeviation

public long getStandardDeviation()
Returns the standard deviation of the included results

isExcluded

public boolean isExcluded(int num)
Returns whether or not the specified result was excluded from statistics