MetroCollect  2.3.4
MetroCollect::MetricsController::MetricsStatsIntermediate Struct Reference

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

#include <MetricsController.h>

Collaboration diagram for MetroCollect::MetricsController::MetricsStatsIntermediate:

Public Member Functions

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

Public Attributes

MetricsStatsArray< size_t > minIndexes
 Current indexes of minimums. More...
 
MetricsStatsArray< size_t > maxIndexes
 Current indexes of maximums. More...
 
MetricsStatsArray< DiffValueTypesum
 Current sum of all values. More...
 
MetricsStatsArray< DiffValueTypesumSquared
 Current sum of all values squared. More...
 

Detailed Description

Struct to store all intermediate metric stats.

Definition at line 58 of file MetricsController.h.

Member Function Documentation

◆ forEach() [1/2]

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

Execute a function for each intermediate stats array.

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

Definition at line 71 of file MetricsController.h.

◆ forEach() [2/2]

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

Execute a const function for each intermediate stats array.

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

Definition at line 85 of file MetricsController.h.

Member Data Documentation

◆ maxIndexes

MetricsStatsArray<size_t> MetroCollect::MetricsController::MetricsStatsIntermediate::maxIndexes

Current indexes of maximums.

Definition at line 60 of file MetricsController.h.

◆ minIndexes

MetricsStatsArray<size_t> MetroCollect::MetricsController::MetricsStatsIntermediate::minIndexes

Current indexes of minimums.

Definition at line 59 of file MetricsController.h.

◆ sum

MetricsStatsArray<DiffValueType> MetroCollect::MetricsController::MetricsStatsIntermediate::sum

Current sum of all values.

Definition at line 61 of file MetricsController.h.

◆ sumSquared

MetricsStatsArray<DiffValueType> MetroCollect::MetricsController::MetricsStatsIntermediate::sumSquared

Current sum of all values squared.

Definition at line 62 of file MetricsController.h.


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