Parameters of statistical analysis of experiments
Any measurement giving a value of ErrorSignal is taken to represent an error.
Iterate measurement measure, trying to find statistically significant average.
Iterate measurement measure, trying to find statistically significant average. After each iteration except the first, the mean and confidence intervals with significance level significance are calculated. This is repeated as specified by params. If measure returns a value of at least ErrorSignal, this is taken to represent an error, and the measurements stop.
the mean and significance.
Run a process given by cmd, and return the final numeric string it produces, which is expected to be its time.
Run a process given by cmd, and return the final numeric string it produces, which is expected to be its time. All other strings produced by the process are echoed to standard out. Any errors produced by the process are also echoed, leading to an exception being thrown.
Code to support experiments.