#include <zigpc_cpu_load_metric.hpp>
|
static constexpr char | LOG_TAG [] = "diagnostics_metric_cpu_load" |
|
static constexpr int | LOAD_COUNT = 3U |
|
static constexpr std::array< std::string_view, LOAD_COUNT > | LOAD_LABELS = {"1Min", "5Min", "15Min"} |
|
◆ load_type
CPU Load average types.
Enumerator |
---|
AVG_1_MIN | |
AVG_5_MIN | |
AVG_15_MIN | |
◆ zigpc_cpu_load_metric()
◆ get_value()
double zigpc_cpu_load_metric::get_value |
( |
load_type |
type | ) |
const |
|
inline |
◆ update_value()
void zigpc_cpu_load_metric::update_value |
( |
void |
| ) |
|
|
inlinevirtual |
◆ LOAD_COUNT
constexpr int zigpc_cpu_load_metric::LOAD_COUNT = 3U |
|
staticconstexprprivate |
◆ LOAD_LABELS
constexpr std::array<std::string_view, LOAD_COUNT> zigpc_cpu_load_metric::LOAD_LABELS = {"1Min", "5Min", "15Min"} |
|
staticconstexprprivate |
◆ load_list
std::array<double, LOAD_COUNT> zigpc_cpu_load_metric::load_list = {} |
|
private |
◆ LOG_TAG
constexpr char zigpc_cpu_load_metric::LOG_TAG[] = "diagnostics_metric_cpu_load" |
|
staticconstexprprivate |
The documentation for this class was generated from the following file: