MySQL 8.4.2
Source Code Documentation
telemetry_pfs_metrics.cc File Reference

Functions

template<typename T , typename U >
constexpr bool CanTypeFitValue (const U value)
 
template<typename T , typename U >
Clamp (U x)
 
template<typename T >
static void get_metric_simple_integer (void *measurement_context, measurement_delivery_callback_t delivery, void *delivery_context)
 
static void get_metric_mutex_instances_lost (void *, measurement_delivery_callback_t delivery, void *delivery_context)
 
void register_pfs_metric_sources ()
 
void unregister_pfs_metric_sources ()
 

Variables

static PSI_metric_info_v1 ps_metrics []
 
static PSI_meter_info_v1 ps_meters []
 

Function Documentation

◆ CanTypeFitValue()

template<typename T , typename U >
constexpr bool CanTypeFitValue ( const U  value)
constexpr

◆ Clamp()

template<typename T , typename U >
T Clamp ( U  x)

◆ get_metric_mutex_instances_lost()

static void get_metric_mutex_instances_lost ( void *  ,
measurement_delivery_callback_t  delivery,
void *  delivery_context 
)
static

◆ get_metric_simple_integer()

template<typename T >
static void get_metric_simple_integer ( void *  measurement_context,
measurement_delivery_callback_t  delivery,
void *  delivery_context 
)
static

◆ register_pfs_metric_sources()

void register_pfs_metric_sources ( )

◆ unregister_pfs_metric_sources()

void unregister_pfs_metric_sources ( )

Variable Documentation

◆ ps_meters

PSI_meter_info_v1 ps_meters[]
static
Initial value:
= {
{"mysql.perf_schema", "MySql performance_schema lost instruments", 10, 0, 0,
size_t size(const char *const c)
Definition: base64.h:46
static PSI_metric_info_v1 ps_metrics[]
Definition: telemetry_pfs_metrics.cc:70

◆ ps_metrics

PSI_metric_info_v1 ps_metrics[]
static