Ion
|
This class aids in accumulation of a benchmarked AccumulatedVariable. More...
#include "benchmark.h"
Public Member Functions | |
VariableAccumulator (const Descriptor &descriptor) | |
Benchmark::VariableAccumulator functions. More... | |
void | AddSample (double value) |
Adds one sample of the Variable's value. More... | |
const AccumulatedVariable | Get () |
Returns the resulting Variable. More... | |
This class aids in accumulation of a benchmarked AccumulatedVariable.
Definition at line 122 of file benchmark.h.
|
explicit |
Benchmark::VariableAccumulator functions.
Definition at line 59 of file benchmark.cc.
void ion::analytics::Benchmark::VariableAccumulator::AddSample | ( | double | value | ) |
Adds one sample of the Variable's value.
Definition at line 68 of file benchmark.cc.
Referenced by ion::analytics::Benchmark::AccumulateSampledVariable().
const Benchmark::AccumulatedVariable ion::analytics::Benchmark::VariableAccumulator::Get | ( | ) |
Returns the resulting Variable.
Definition at line 79 of file benchmark.cc.
References ion::math::Sqrt(), and ion::analytics::Benchmark::AccumulatedVariable::standard_deviation.
Referenced by ion::analytics::Benchmark::AccumulateSampledVariable().