|
Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
|
Classes | |
| struct | is_chrono_duration |
| Type trait to detect std::chrono::duration types. More... | |
| struct | is_chrono_duration< std::chrono::duration< Rep, Period > > |
Functions | |
| template<typename T > | |
| constexpr T | zero_value () |
| Get zero value for a type. | |
| template<typename T > | |
| constexpr T | max_value () |
| Get maximum value for a type. | |
| template<typename T > | |
| constexpr T | min_value () |
| Get minimum (lowest) value for a type. | |
| template<typename T > | |
| T | divide (const T &value, size_t count) |
| Divide value by count. | |
Variables | |
| template<typename T > | |
| constexpr bool | is_chrono_duration_v = is_chrono_duration<T>::value |
| T kcenon::monitoring::stats::detail::divide | ( | const T & | value, |
| size_t | count ) |
Divide value by count.
Definition at line 99 of file statistics.h.
References is_chrono_duration_v, and zero_value().
Referenced by kcenon::monitoring::stats::compute_sorted().


|
constexpr |
Get maximum value for a type.
Definition at line 75 of file statistics.h.
References is_chrono_duration_v.
|
constexpr |
Get minimum (lowest) value for a type.
Definition at line 87 of file statistics.h.
References is_chrono_duration_v.
|
constexpr |
Get zero value for a type.
Definition at line 63 of file statistics.h.
References is_chrono_duration_v.
Referenced by kcenon::monitoring::stats::compute_sorted(), divide(), and kcenon::monitoring::stats::percentile().

|
inlineconstexpr |
Definition at line 57 of file statistics.h.
Referenced by divide(), max_value(), min_value(), kcenon::monitoring::stats::percentile(), and zero_value().