MySQL 9.1.0
Source Code Documentation
Collaboration diagram for Idle Instrumentation (API):

Macros

#define MYSQL_START_IDLE_WAIT(LOCKER, STATE)    LOCKER = inline_mysql_start_idle_wait(STATE, __FILE__, __LINE__)
 Instrumentation helper for table io_waits. More...
 
#define MYSQL_END_IDLE_WAIT(LOCKER)   inline_mysql_end_idle_wait(LOCKER)
 Instrumentation helper for idle waits. More...
 

Functions

static struct PSI_idle_lockerinline_mysql_start_idle_wait (PSI_idle_locker_state *state, const char *src_file, int src_line)
 Instrumentation calls for MYSQL_START_IDLE_WAIT. More...
 
static void inline_mysql_end_idle_wait (struct PSI_idle_locker *locker)
 Instrumentation calls for MYSQL_END_IDLE_WAIT. More...
 

Detailed Description

Macro Definition Documentation

◆ MYSQL_END_IDLE_WAIT

#define MYSQL_END_IDLE_WAIT (   LOCKER)    inline_mysql_end_idle_wait(LOCKER)

Instrumentation helper for idle waits.

This instrumentation marks the end of a wait event.

Parameters
LOCKERthe locker
See also
MYSQL_START_IDLE_WAIT.

◆ MYSQL_START_IDLE_WAIT

#define MYSQL_START_IDLE_WAIT (   LOCKER,
  STATE 
)     LOCKER = inline_mysql_start_idle_wait(STATE, __FILE__, __LINE__)

Instrumentation helper for table io_waits.

This instrumentation marks the start of a wait event.

Parameters
LOCKERthe locker
STATEthe locker state
See also
MYSQL_END_IDLE_WAIT.

Function Documentation

◆ inline_mysql_end_idle_wait()

static void inline_mysql_end_idle_wait ( struct PSI_idle_locker locker)
inlinestatic

Instrumentation calls for MYSQL_END_IDLE_WAIT.

See also
MYSQL_START_IDLE_WAIT.

◆ inline_mysql_start_idle_wait()

static struct PSI_idle_locker * inline_mysql_start_idle_wait ( PSI_idle_locker_state state,
const char *  src_file,
int  src_line 
)
inlinestatic

Instrumentation calls for MYSQL_START_IDLE_WAIT.

See also
MYSQL_END_IDLE_WAIT.