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.
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
mysql_stage_register
#define mysql_stage_register(P1, P2, P3, P1, P2, P3) do {} while (0)Defined in psi/mysql_stage.h:51
Stage registration.
MYSQL_SET_STAGE
Defined in psi/mysql_stage.h:69
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:83
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:95
End the last stage
mysql_stage_set_work_completed
Defined in psi/mysql_stage.h:131
mysql_stage_get_work_completed
Defined in psi/mysql_stage.h:134
mysql_stage_inc_work_completed
Defined in psi/mysql_stage.h:142
mysql_stage_set_work_estimated
Defined in psi/mysql_stage.h:153
mysql_stage_get_work_estimated
Defined in psi/mysql_stage.h:156
Last updated
Was this helpful?

