Stage Instrumentation
Macros that register statement execution stages, set the current stage, and report stage progress (work completed and work estimated) to the Performance Schema.
Plugin API/Services for Plugins/Instrumentation Interface
Macros
Stage registration.
Set the current stage. Use this API when the file and line is passed from the caller.
Set the current stage.
End the last stage
PSI_STAGE_CALL
#define PSI_STAGE_CALL(M, M) PSI_DYNAMIC_CALL(M)Defined in psi/mysql_stage.h:38
mysql_stage_register
Defined in psi/mysql_stage.h:49
Stage registration.
MYSQL_SET_STAGE
Defined in psi/mysql_stage.h:67
Set the current stage. Use this API when the file and line is passed from the caller.
Returns
the current stage progress
Parameters
K
the stage key
F
the source file name
L
the source file line
K
the stage key
F
the source file name
L
the source file line
mysql_set_stage
Defined in psi/mysql_stage.h:81
Set the current stage.
Returns
the current stage progress
Parameters
K
the stage key
K
the stage key
mysql_end_stage
Defined in psi/mysql_stage.h:93
End the last stage
mysql_stage_set_work_completed
Defined in psi/mysql_stage.h:129
mysql_stage_get_work_completed
Defined in psi/mysql_stage.h:132
mysql_stage_inc_work_completed
Defined in psi/mysql_stage.h:140
mysql_stage_set_work_estimated
Defined in psi/mysql_stage.h:151
mysql_stage_get_work_estimated
Defined in psi/mysql_stage.h:154
This page is licensed: GPLv2
Last updated
Was this helpful?

