MetroCollect  2.3.4
MetroCollect::MetricsController::MetricsStats Struct Reference

Struct to store all final metric stats. More...

#include <MetricsController.h>

Collaboration diagram for MetroCollect::MetricsController::MetricsStats:

Public Member Functions

template<typename Function >
void forEach (Function func)
 Execute a function for each stats array. More...
 
template<typename Function >
void forEach (Function func) const
 Execute a const function for each stats array. More...
 

Public Attributes

MetricsStatsArray< DiffValueTypemin
 Array of minimums. More...
 
MetricsStatsArray< DiffValueTypemax
 Array of maximums. More...
 
MetricsStatsArray< DiffValueTypeaverage
 Array of averages. More...
 
MetricsStatsArray< DiffValueTypestdDev
 Array of standard deviations. More...
 

Detailed Description

Struct to store all final metric stats.

Definition at line 96 of file MetricsController.h.

Member Function Documentation

◆ forEach() [1/2]

template<typename Function >
void MetroCollect::MetricsController::MetricsStats::forEach ( Function  func)
inline

Execute a function for each stats array.

Template Parameters
FunctionFunction type, which must accept two arguments: implicitly convertible to the stats array type and an StatIndex
Parameters
funcfunction to execute

Definition at line 109 of file MetricsController.h.

Here is the caller graph for this function:

◆ forEach() [2/2]

template<typename Function >
void MetroCollect::MetricsController::MetricsStats::forEach ( Function  func) const
inline

Execute a const function for each stats array.

Template Parameters
FunctionConst function type, which must accept two arguments: implicitly convertible to the stats array type and an StatIndex
Parameters
funcfunction to execute

Definition at line 123 of file MetricsController.h.

Member Data Documentation

◆ average

MetricsStatsArray<DiffValueType> MetroCollect::MetricsController::MetricsStats::average

Array of averages.

Definition at line 99 of file MetricsController.h.

◆ max

MetricsStatsArray<DiffValueType> MetroCollect::MetricsController::MetricsStats::max

Array of maximums.

Definition at line 98 of file MetricsController.h.

◆ min

MetricsStatsArray<DiffValueType> MetroCollect::MetricsController::MetricsStats::min

Array of minimums.

Definition at line 97 of file MetricsController.h.

◆ stdDev

MetricsStatsArray<DiffValueType> MetroCollect::MetricsController::MetricsStats::stdDev

Array of standard deviations.

Definition at line 100 of file MetricsController.h.


The documentation for this struct was generated from the following file: