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

Macros

#define mysql_stage_register(P1, P2, P3)   inline_mysql_stage_register(P1, P2, P3)
 Stage registration. More...
 
#define MYSQL_SET_STAGE(K, F, L)   inline_mysql_set_stage(K, F, L)
 Set the current stage. More...
 
#define mysql_set_stage(K)   inline_mysql_set_stage(K, __FILE__, __LINE__)
 Set the current stage. More...
 
#define mysql_end_stage   inline_mysql_end_stage
 End the last stage. More...
 
#define mysql_stage_set_work_completed(P1, P2)    inline_mysql_stage_set_work_completed(P1, P2)
 
#define mysql_stage_get_work_completed(P1)    inline_mysql_stage_get_work_completed(P1)
 
#define mysql_stage_inc_work_completed(P1, P2)    inline_mysql_stage_inc_work_completed(P1, P2)
 
#define mysql_stage_set_work_estimated(P1, P2)    inline_mysql_stage_set_work_estimated(P1, P2)
 
#define mysql_stage_get_work_estimated(P1)    inline_mysql_stage_get_work_estimated(P1)
 

Functions

static void inline_mysql_stage_register (const char *category, PSI_stage_info **info, int count)
 
static PSI_stage_progressinline_mysql_set_stage (PSI_stage_key key, const char *src_file, int src_line)
 
static void inline_mysql_end_stage ()
 
static void inline_mysql_stage_set_work_completed (PSI_stage_progress *progress, ulonglong val)
 
static ulonglong inline_mysql_stage_get_work_completed (PSI_stage_progress *progress)
 
static void inline_mysql_stage_inc_work_completed (PSI_stage_progress *progress, ulonglong val)
 
static void inline_mysql_stage_set_work_estimated (PSI_stage_progress *progress, ulonglong val)
 
static ulonglong inline_mysql_stage_get_work_estimated (PSI_stage_progress *progress)
 

Detailed Description

Macro Definition Documentation

◆ mysql_end_stage

#define mysql_end_stage   inline_mysql_end_stage

End the last stage.

◆ mysql_set_stage

#define mysql_set_stage (   K)    inline_mysql_set_stage(K, __FILE__, __LINE__)

Set the current stage.

Parameters
Kthe stage key
Returns
the current stage progress

◆ MYSQL_SET_STAGE

#define MYSQL_SET_STAGE (   K,
  F,
  L 
)    inline_mysql_set_stage(K, F, L)

Set the current stage.

Use this API when the file and line is passed from the caller.

Parameters
Kthe stage key
Fthe source file name
Lthe source file line
Returns
the current stage progress

◆ mysql_stage_get_work_completed

#define mysql_stage_get_work_completed (   P1)     inline_mysql_stage_get_work_completed(P1)

◆ mysql_stage_get_work_estimated

#define mysql_stage_get_work_estimated (   P1)     inline_mysql_stage_get_work_estimated(P1)

◆ mysql_stage_inc_work_completed

#define mysql_stage_inc_work_completed (   P1,
  P2 
)     inline_mysql_stage_inc_work_completed(P1, P2)

◆ mysql_stage_register

#define mysql_stage_register (   P1,
  P2,
  P3 
)    inline_mysql_stage_register(P1, P2, P3)

Stage registration.

◆ mysql_stage_set_work_completed

#define mysql_stage_set_work_completed (   P1,
  P2 
)     inline_mysql_stage_set_work_completed(P1, P2)

◆ mysql_stage_set_work_estimated

#define mysql_stage_set_work_estimated (   P1,
  P2 
)     inline_mysql_stage_set_work_estimated(P1, P2)

Function Documentation

◆ inline_mysql_end_stage()

static void inline_mysql_end_stage ( )
inlinestatic

◆ inline_mysql_set_stage()

static PSI_stage_progress * inline_mysql_set_stage ( PSI_stage_key  key,
const char *  src_file,
int  src_line 
)
inlinestatic

◆ inline_mysql_stage_get_work_completed()

static ulonglong inline_mysql_stage_get_work_completed ( PSI_stage_progress progress)
inlinestatic

◆ inline_mysql_stage_get_work_estimated()

static ulonglong inline_mysql_stage_get_work_estimated ( PSI_stage_progress progress)
inlinestatic

◆ inline_mysql_stage_inc_work_completed()

static void inline_mysql_stage_inc_work_completed ( PSI_stage_progress progress,
ulonglong  val 
)
inlinestatic

◆ inline_mysql_stage_register()

static void inline_mysql_stage_register ( const char *  category,
PSI_stage_info **  info,
int  count 
)
inlinestatic

◆ inline_mysql_stage_set_work_completed()

static void inline_mysql_stage_set_work_completed ( PSI_stage_progress progress,
ulonglong  val 
)
inlinestatic

◆ inline_mysql_stage_set_work_estimated()

static void inline_mysql_stage_set_work_estimated ( PSI_stage_progress progress,
ulonglong  val 
)
inlinestatic