MySQL 8.4.3
Source Code Documentation
psi_bits.h File Reference

Performance schema instrumentation interface. More...

Go to the source code of this file.

Classes

struct  PSI_placeholder
 
struct  PSI_instr
 Instrumented artifact. More...
 

Macros

#define PSI_DOCUMENT_ME   ""
 
#define PSI_FLAG_SINGLETON   (1 << 0)
 Singleton flag. More...
 
#define PSI_FLAG_MUTABLE   (1 << 1)
 Mutable flag. More...
 
#define PSI_FLAG_THREAD   (1 << 2)
 Per Thread flag. More...
 
#define PSI_FLAG_STAGE_PROGRESS   (1 << 3)
 Stage progress flag. More...
 
#define PSI_FLAG_RWLOCK_SX   (1 << 4)
 Shared Exclusive flag. More...
 
#define PSI_FLAG_TRANSFER   (1 << 5)
 Transferable flag. More...
 
#define PSI_FLAG_USER   (1 << 6)
 User flag. More...
 
#define PSI_FLAG_ONLY_GLOBAL_STAT   (1 << 7)
 Global stat only flag. More...
 
#define PSI_FLAG_RWLOCK_PR   (1 << 8)
 Priority lock flag. More...
 
#define PSI_FLAG_THREAD_SYSTEM   (1 << 9)
 System thread flag. More...
 
#define PSI_FLAG_AUTO_SEQNUM   (1 << 10)
 Automatic sequence number flag. More...
 
#define PSI_FLAG_NO_SEQNUM   (1 << 11)
 No sequence number flag. More...
 
#define PSI_FLAG_MEM_COLLECT   (1 << 12)
 Enable collecting the memory consumed by threads. More...
 
#define PSI_FLAG_DISABLED   (1 << 13)
 Instrument is disabled by default. More...
 
#define PSI_FLAG_UNTIMED   (1 << 14)
 Instrument is not timed by default. More...
 
#define PSI_VOLATILITY_UNKNOWN   0
 
#define PSI_VOLATILITY_PERMANENT   1
 
#define PSI_VOLATILITY_PROVISIONING   2
 
#define PSI_VOLATILITY_DDL   3
 
#define PSI_VOLATILITY_CACHE   4
 
#define PSI_VOLATILITY_SESSION   5
 
#define PSI_VOLATILITY_TRANSACTION   6
 
#define PSI_VOLATILITY_QUERY   7
 
#define PSI_VOLATILITY_INTRA_QUERY   8
 
#define PSI_COUNT_VOLATILITY   9
 

Variables

static constexpr unsigned PSI_INSTRUMENT_ME = 0
 
static constexpr unsigned PSI_NOT_INSTRUMENTED = 0
 

Detailed Description

Performance schema instrumentation interface.