pulsatrix
Loading...
Searching...
No Matches
pulsatrix::MetricCapability Struct Reference

Whether one metric can be read on this machine, and from where – or why not. More...

#include <system_monitor.hpp>

Public Attributes

std::string metric
 e.g. "cpu_temperature_c", "gpu0.power_watts", "gpus".
 
bool available = false
 
std::string detail
 Source when available (e.g. "/proc/stat"); the reason when not.
 

Detailed Description

Whether one metric can be read on this machine, and from where – or why not.

Member Data Documentation

◆ available

bool pulsatrix::MetricCapability::available = false

◆ detail

std::string pulsatrix::MetricCapability::detail

Source when available (e.g. "/proc/stat"); the reason when not.

◆ metric

std::string pulsatrix::MetricCapability::metric

e.g. "cpu_temperature_c", "gpu0.power_watts", "gpus".


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