MySQL 8.0.40
Source Code Documentation
mysql_idle.h File Reference

Instrumentation helpers for idle waits. More...

#include "my_psi_config.h"
#include "mysql/psi/psi_idle.h"
#include "pfs_idle_provider.h"

Go to the source code of this file.

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

Instrumentation helpers for idle waits.