MySQL 8.4.0
Source Code Documentation
PSI_meter_info_v1 Struct Reference

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>

Public Attributes

const char * m_meter
 
const char * m_description
 
unsigned int m_frequency
 
unsigned int m_flags
 Instrument flags. More...
 
PSI_meter_key m_key
 
PSI_metric_info_v1m_metrics
 
unsigned int m_metrics_size
 

Detailed Description

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.

Member Data Documentation

◆ m_description

const char* PSI_meter_info_v1::m_description

◆ m_flags

unsigned int PSI_meter_info_v1::m_flags

Instrument flags.

◆ m_frequency

unsigned int PSI_meter_info_v1::m_frequency

◆ m_key

PSI_meter_key PSI_meter_info_v1::m_key

◆ m_meter

const char* PSI_meter_info_v1::m_meter

◆ m_metrics

PSI_metric_info_v1* PSI_meter_info_v1::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: