MySQL 8.0.39
Source Code Documentation
|
The performance schema implementation of the resource group service. More...
#include <mysql/components/my_service.h>
#include <mysql/components/service_implementation.h>
#include <mysql/components/services/pfs_resource_group.h>
#include <mysql/plugin.h>
#include "storage/perfschema/pfs_server.h"
Functions | |
int | pfs_set_thread_resource_group_vc (const char *group_name, int group_name_len, void *user_data) |
Implementation of the thread instrumentation interface. More... | |
int | pfs_set_thread_resource_group_by_id_vc (PSI_thread *thread, ulonglong thread_id, const char *group_name, int group_name_len, void *user_data) |
Implementation of the thread instrumentation interface. More... | |
int | pfs_get_thread_system_attrs_vc (PSI_thread_attrs *thread_attrs) |
Implementation of the thread instrumentation interface. More... | |
int | pfs_get_thread_system_attrs_by_id_vc (PSI_thread *thread, ulonglong thread_id, PSI_thread_attrs *thread_attrs) |
Implementation of the thread instrumentation interface. More... | |
int | impl_pfs_set_thread_resource_group (const char *group_name, int group_name_len, void *user_data) |
int | impl_pfs_set_thread_resource_group_by_id (PSI_thread *thread, ulonglong thread_id, const char *group_name, int group_name_len, void *user_data) |
int | impl_pfs_get_thread_system_attrs (PSI_thread_attrs *thread_attrs) |
int | impl_pfs_get_thread_system_attrs_by_id (PSI_thread *thread, ulonglong thread_id, PSI_thread_attrs *thread_attrs) |
int | register_pfs_resource_group_service () |
Register the Resource Group service with the MySQL server registry. More... | |
int | unregister_pfs_resource_group_service () |
Unregister the Resource Group service. More... | |
Variables | |
const mysql_service_pfs_resource_group_v3_t | SERVICE_IMPLEMENTATION (mysql_server, pfs_resource_group_v3) |
The performance schema implementation of the resource group service.
int impl_pfs_get_thread_system_attrs | ( | PSI_thread_attrs * | thread_attrs | ) |
int impl_pfs_get_thread_system_attrs_by_id | ( | PSI_thread * | thread, |
ulonglong | thread_id, | ||
PSI_thread_attrs * | thread_attrs | ||
) |
int impl_pfs_set_thread_resource_group | ( | const char * | group_name, |
int | group_name_len, | ||
void * | user_data | ||
) |
int impl_pfs_set_thread_resource_group_by_id | ( | PSI_thread * | thread, |
ulonglong | thread_id, | ||
const char * | group_name, | ||
int | group_name_len, | ||
void * | user_data | ||
) |
int pfs_get_thread_system_attrs_by_id_vc | ( | PSI_thread * | thread, |
ulonglong | thread_id, | ||
PSI_thread_attrs * | thread_attrs | ||
) |
Implementation of the thread instrumentation interface.
int pfs_get_thread_system_attrs_vc | ( | PSI_thread_attrs * | thread_attrs | ) |
Implementation of the thread instrumentation interface.
int pfs_set_thread_resource_group_by_id_vc | ( | PSI_thread * | thread, |
ulonglong | thread_id, | ||
const char * | group_name, | ||
int | group_name_len, | ||
void * | user_data | ||
) |
Implementation of the thread instrumentation interface.
int pfs_set_thread_resource_group_vc | ( | const char * | group_name, |
int | group_name_len, | ||
void * | user_data | ||
) |
Implementation of the thread instrumentation interface.
int register_pfs_resource_group_service | ( | ) |
Register the Resource Group service with the MySQL server registry.
Register/unregister resource group service.
int unregister_pfs_resource_group_service | ( | ) |
Unregister the Resource Group service.
const mysql_service_pfs_resource_group_v3_t SERVICE_IMPLEMENTATION(mysql_server, pfs_resource_group_v3) | ( | mysql_server | , |
pfs_resource_group_v3 | |||
) |