Allows the online gathering of statistical information about a single quantity.
More...
|
|
| Accumulator (char *name) |
| | Create a new Accumulator class with initial values set to a zero count, zero sum statistic of interest.
|
| |
| NumberBase | getSum () |
| | Provides the sum of the values presented so far. More...
|
| |
| NumberBase | getSumSquared () |
| | Provides the sum of each value squared presented to the class so far. More...
|
| |
| void | add (NumberBase value) |
| | Present a new value to the class to be included in the statistics. More...
|
| |
| void | add (NumberBase *values, uint32_t length) |
| | Present an array of values to the class to be included in the statistics. More...
|
| |
| NumberBase | getArithmeticMean () |
| | Get the arithmetic mean of the values presented so far. More...
|
| |
| NumberBase | getVariance () |
| | Get the variance of the values presented so far. More...
|
| |
| NumberBase | getStandardDeviation () |
| | Get the standard deviation of the values presented so far. More...
|
| |
| uint64_t | getCount () |
| | Get a count of the number of elements presented to the statistics collection so far. More...
|
| |
| | BaseStatistic (std::string statName) |
| | Constructor for the BaseStatistics class. More...
|
| |
| | BaseStatistic (char *statName) |
| | Constructor for the BaseStatistic class. More...
|
| |
| const char * | getName () |
| | Get the name of the statistic. More...
|
| |
|
void | enable () |
| | Enable the statistic for collection.
|
| |
|
void | disable () |
| | Disable the statistic collection.
|
| |
| bool | isEnabled () |
| | Query whether the statistic is currently enabled. More...
|
| |
Allows the online gathering of statistical information about a single quantity.
The basic statistics are captured online removing the need to keep a copy of the values of interest.
- Template Parameters
-
| NumberBase | A template for the basic numerical type of values |