MySQL 9.1.0
Source Code Documentation
psi_cond_bits.h File Reference

Performance schema instrumentation interface. More...

Go to the source code of this file.

Classes

struct  PSI_cond
 Interface for an instrumented condition. More...
 
struct  PSI_cond_info_v1
 Condition information. More...
 
struct  PSI_cond_locker_state_v1
 State data storage for start_cond_wait_v1_t. More...
 

Macros

#define PSI_COND_VERSION_1   1
 Performance Schema Cond Interface number for version 1. More...
 
#define PSI_CURRENT_COND_VERSION   1
 Performance Schema Cond Interface number for the most recent version. More...
 

Typedefs

typedef unsigned int PSI_cond_key
 Instrumented cond key. More...
 
typedef struct PSI_cond PSI_cond
 
typedef struct PSI_cond_locker PSI_cond_locker
 
typedef enum PSI_cond_operation PSI_cond_operation
 
typedef struct PSI_cond_info_v1 PSI_cond_info_v1
 
typedef struct PSI_cond_locker_state_v1 PSI_cond_locker_state_v1
 
typedef void(* register_cond_v1_t) (const char *category, struct PSI_cond_info_v1 *info, int count)
 Cond registration API. More...
 
typedef struct PSI_cond *(* init_cond_v1_t) (PSI_cond_key key, const void *identity)
 Cond instrumentation initialisation API. More...
 
typedef void(* destroy_cond_v1_t) (struct PSI_cond *cond)
 Cond instrumentation destruction API. More...
 
typedef void(* signal_cond_v1_t) (struct PSI_cond *cond)
 Record a condition instrumentation signal event. More...
 
typedef void(* broadcast_cond_v1_t) (struct PSI_cond *cond)
 Record a condition instrumentation broadcast event. More...
 
typedef struct PSI_cond_locker *(* start_cond_wait_v1_t) (struct PSI_cond_locker_state_v1 *state, struct PSI_cond *cond, struct PSI_mutex *mutex, enum PSI_cond_operation op, const char *src_file, unsigned int src_line)
 Record a condition instrumentation wait start event. More...
 
typedef void(* end_cond_wait_v1_t) (struct PSI_cond_locker *locker, int rc)
 Record a condition instrumentation wait end event. More...
 
typedef struct PSI_cond_info_v1 PSI_cond_info
 
typedef struct PSI_cond_locker_state_v1 PSI_cond_locker_state
 

Enumerations

enum  PSI_cond_operation { PSI_COND_WAIT = 0 , PSI_COND_TIMEDWAIT = 1 }
 Operation performed on an instrumented condition. More...
 

Detailed Description

Performance schema instrumentation interface.