MetroCollect  2.3.4
MetroCollect Namespace Reference

Namespaces

 MetricsSource
 Namespace for sources of metrics objects and operations.
 

Classes

class  MetricsArray
 Generic class to store and manage metrics. More...
 
class  MetricsController
 Class to control the collection of metrics. More...
 
class  MetricsControllerDelegate
 Abstract delegate of MetricsController. More...
 
class  MetricsDataArray
 Class to fetch metrics from the kernel and store them. More...
 
class  MetricsDiffArray
 Class to compute and store metric values variations. More...
 
class  MetricsStatsArray
 Class to store metric statistics, and the indexes of those requested. More...
 
class  Statistics
 Class holding various statistics-related types and variables. More...
 

Typedefs

using DataValueType = int64_t
 Type of fetched raw metrics. More...
 
using DiffValueType = double
 Type of metric variation. More...
 

Functions

template<typename T >
constexpr Statistics::Stats operator| (Statistics::Stats a, T b)
 Performs bitwise OR of two statistics. More...
 
template<typename T >
constexpr Statistics::Statsoperator|= (Statistics::Stats &a, T b)
 Performs and assigns bitwise OR of two statistics. More...
 

Typedef Documentation

◆ DataValueType

using MetroCollect::DataValueType = typedef int64_t

Type of fetched raw metrics.

Definition at line 28 of file MetricTypes.h.

◆ DiffValueType

using MetroCollect::DiffValueType = typedef double

Type of metric variation.

Definition at line 29 of file MetricTypes.h.

Function Documentation

◆ operator|()

template<typename T >
constexpr Statistics::Stats MetroCollect::operator| ( Statistics::Stats  a,
b 
)
inline

Performs bitwise OR of two statistics.

Template Parameters
TType of second operand
Parameters
avalues to compute bitwise OR of
bvalues to compute bitwise OR of
Returns
the result of a | b

Definition at line 105 of file Statistics.h.

◆ operator|=()

template<typename T >
constexpr Statistics::Stats& MetroCollect::operator|= ( Statistics::Stats a,
b 
)
inline

Performs and assigns bitwise OR of two statistics.

Template Parameters
TType of second operand
Parameters
avalues to compute bitwise OR of
bvalues to compute bitwise OR of
Returns
a, with the result of a | b

Definition at line 118 of file Statistics.h.