Define a meter source, storing char pointers requires the original strings to be valid for entire lifetime of a metric (global variable), or the strings themselves to be string literals (hardcoded), the advantage is no (de)allocation code is needed here.
More...
#include <psi_metric_bits.h>
Define a meter source, storing char pointers requires the original strings to be valid for entire lifetime of a metric (global variable), or the strings themselves to be string literals (hardcoded), the advantage is no (de)allocation code is needed here.
◆ m_description
const char* PSI_meter_info_v1::m_description |
◆ m_flags
unsigned int PSI_meter_info_v1::m_flags |
◆ m_frequency
unsigned int PSI_meter_info_v1::m_frequency |
◆ m_key
◆ m_meter
const char* PSI_meter_info_v1::m_meter |
◆ m_metrics
◆ m_metrics_size
unsigned int PSI_meter_info_v1::m_metrics_size |
The documentation for this struct was generated from the following file: