MySQL 9.1.0
Source Code Documentation
|
Classes | |
struct | PSI_stage_progress_v1 |
Interface for an instrumented stage progress. More... | |
struct | PSI_stage_info_v1 |
Stage instrument information. More... | |
struct | PSI_stage_bootstrap |
Entry point for the performance schema interface. More... | |
struct | PSI_stage_service_v1 |
Performance Schema Stage Interface, version 1. More... | |
Macros | |
#define | PSI_STAGE_VERSION_1 1 |
Performance Schema Stage Interface number for version 1. More... | |
#define | PSI_CURRENT_STAGE_VERSION 1 |
Performance Schema Stage Interface number for the most recent version. More... | |
Typedefs | |
typedef unsigned int | PSI_stage_key |
Instrumented stage key. More... | |
typedef struct PSI_stage_progress_v1 | PSI_stage_progress_v1 |
typedef struct PSI_stage_info_v1 | PSI_stage_info_v1 |
typedef void(* | register_stage_v1_t) (const char *category, struct PSI_stage_info_v1 **info, int count) |
Stage registration API. More... | |
typedef PSI_stage_progress_v1 *(* | start_stage_v1_t) (PSI_stage_key key, const char *src_file, int src_line) |
Start a new stage, and implicitly end the previous stage. More... | |
typedef PSI_stage_progress_v1 *(* | get_current_stage_progress_v1_t) (void) |
Get the current stage progress. More... | |
typedef void(* | end_stage_v1_t) (void) |
End the current stage. More... | |
typedef struct PSI_stage_info_v1 | PSI_stage_info |
typedef struct PSI_stage_progress_v1 | PSI_stage_progress |
typedef struct PSI_stage_service_v1 | PSI_stage_service_t |
Variables | |
MYSQL_PLUGIN_IMPORT PSI_stage_service_t * | psi_stage_service |
#define PSI_CURRENT_STAGE_VERSION 1 |
Performance Schema Stage Interface number for the most recent version.
The most current version is PSI_STAGE_VERSION_1
#define PSI_STAGE_VERSION_1 1 |
Performance Schema Stage Interface number for version 1.
This version is supported.
typedef void(* end_stage_v1_t) (void) |
End the current stage.
typedef PSI_stage_progress_v1 *(* get_current_stage_progress_v1_t) (void) |
Get the current stage progress.
typedef struct PSI_stage_info_v1 PSI_stage_info |
typedef struct PSI_stage_info_v1 PSI_stage_info_v1 |
typedef unsigned int PSI_stage_key |
Instrumented stage key.
To instrument a stage, a stage key must be obtained using register_stage
. Using a zero key always disable the instrumentation.
typedef struct PSI_stage_progress_v1 PSI_stage_progress |
typedef struct PSI_stage_progress_v1 PSI_stage_progress_v1 |
typedef struct PSI_stage_service_v1 PSI_stage_service_t |
typedef void(* register_stage_v1_t) (const char *category, struct PSI_stage_info_v1 **info, int count) |
Stage registration API.
category | a category name |
info | an array of stage info to register |
count | the size of the info array |
typedef PSI_stage_progress_v1 *(* start_stage_v1_t) (PSI_stage_key key, const char *src_file, int src_line) |
Start a new stage, and implicitly end the previous stage.
key | the key of the new stage |
src_file | the source file name |
src_line | the source line number |
|
extern |