MySQL 8.4.2
Source Code Documentation
Collaboration diagram for Metric Instrumentation (API):

Macros

#define mysql_meter_register(P1, P2)   inline_mysql_meter_register(P1, P2)
 Registration of meters, each with its metrics. More...
 
#define mysql_meter_unregister(P1, P2)   inline_mysql_meter_unregister(P1, P2)
 Meter unregistration. More...
 
#define mysql_meter_notify_register(P1)   inline_mysql_meter_notify_register(P1)
 Registration of meter change notification callback. More...
 
#define mysql_meter_notify_unregister(P1)    inline_mysql_meter_notify_unregister(P1)
 Unregistration of meter change notification callback. More...
 
#define mysql_meter_notify_send(P1, P2)   inline_mysql_meter_notify_send(P1, P2)
 Send meter change notification through registered callback. More...
 

Functions

static void inline_mysql_meter_register (PSI_meter_info_v1 *info, size_t count)
 
static void inline_mysql_meter_unregister (PSI_meter_info_v1 *info, size_t count)
 
static void inline_mysql_meter_notify_register (meter_registration_changes_v1_t callback)
 
static void inline_mysql_meter_notify_unregister (meter_registration_changes_v1_t callback)
 
static void inline_mysql_meter_notify_send (const char *meter, MeterNotifyType change)
 

Detailed Description

Macro Definition Documentation

◆ mysql_meter_notify_register

#define mysql_meter_notify_register (   P1)    inline_mysql_meter_notify_register(P1)

Registration of meter change notification callback.

◆ mysql_meter_notify_send

#define mysql_meter_notify_send (   P1,
  P2 
)    inline_mysql_meter_notify_send(P1, P2)

Send meter change notification through registered callback.

◆ mysql_meter_notify_unregister

#define mysql_meter_notify_unregister (   P1)     inline_mysql_meter_notify_unregister(P1)

Unregistration of meter change notification callback.

◆ mysql_meter_register

#define mysql_meter_register (   P1,
  P2 
)    inline_mysql_meter_register(P1, P2)

Registration of meters, each with its metrics.

◆ mysql_meter_unregister

#define mysql_meter_unregister (   P1,
  P2 
)    inline_mysql_meter_unregister(P1, P2)

Meter unregistration.

Function Documentation

◆ inline_mysql_meter_notify_register()

static void inline_mysql_meter_notify_register ( meter_registration_changes_v1_t  callback)
inlinestatic

◆ inline_mysql_meter_notify_send()

static void inline_mysql_meter_notify_send ( const char *  meter,
MeterNotifyType  change 
)
inlinestatic

◆ inline_mysql_meter_notify_unregister()

static void inline_mysql_meter_notify_unregister ( meter_registration_changes_v1_t  callback)
inlinestatic

◆ inline_mysql_meter_register()

static void inline_mysql_meter_register ( PSI_meter_info_v1 info,
size_t  count 
)
inlinestatic

◆ inline_mysql_meter_unregister()

static void inline_mysql_meter_unregister ( PSI_meter_info_v1 info,
size_t  count 
)
inlinestatic