metric_stat Class Reference
#include <metric_stat.h>
Public Member Functions | |
metric_stat (const float mean=std::numeric_limits< float >::quiet_NaN(), const float stddev=std::numeric_limits< float >::quiet_NaN(), const float median=std::numeric_limits< float >::quiet_NaN()) | |
void | clear () |
void | mean (const float val) |
void | stddev (const float val) |
void | median (const float val) |
float | mean () const |
float | stddev () const |
float | median () const |
Protected Attributes | |
float | m_mean |
float | m_stddev |
float | m_median |
Friends | |
template<class MetricType , int Version> | |
struct | io::generic_layout |
Detailed Description
Simple statistics describing a set of metrics
Constructor & Destructor Documentation
|
inline |
Constructor
- Parameters
-
mean mean value over several metrics stddev standard deviation over several metrics median median over several metrics
Member Function Documentation
|
inline |
Clear the stat variables
|
inline |
Set the mean value
- Parameters
-
val mean value
|
inline |
Set the median value
- Parameters
-
val median value
|
inline |
Set the standard deviation value
- Parameters
-
val standard deviation value
Friends And Related Function Documentation
|
friend |
Member Data Documentation
|
protected |
Mean value
|
protected |
Median value
|
protected |
Standard deviation value
The documentation for this class was generated from the following file:
- /io/interop/model/summary/metric_stat.h