metric_average Class Reference
#include <metric_average.h>
Public Member Functions | |
metric_average () | |
metric_average & | operator+= (const float val) |
operator float () const | |
float | average () const |
Detailed Description
Keep a running average of a metric
Constructor & Destructor Documentation
|
inline |
Constructor
Member Function Documentation
|
inline |
Compute current average
- Returns
- current average
|
inline |
Compute current average
- Returns
- current average
|
inline |
Add another value to the average
- Parameters
-
val source value for average
- Returns
- reference to this object
The documentation for this class was generated from the following file:
- /io/interop/model/summary/metric_average.h