MySQL 9.3.0
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
service_pfs_resource_group.cc File Reference

The performance schema implementation of the resource group service. More...

Functions

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)
 

Variables

const mysql_service_pfs_resource_group_v3_t SERVICE_IMPLEMENTATION (mysql_server, pfs_resource_group_v3)
 

Detailed Description

The performance schema implementation of the resource group service.

Function Documentation

◆ impl_pfs_get_thread_system_attrs()

int impl_pfs_get_thread_system_attrs ( PSI_thread_attrs thread_attrs)

◆ impl_pfs_get_thread_system_attrs_by_id()

int impl_pfs_get_thread_system_attrs_by_id ( PSI_thread thread,
ulonglong  thread_id,
PSI_thread_attrs thread_attrs 
)

◆ impl_pfs_set_thread_resource_group()

int impl_pfs_set_thread_resource_group ( const char *  group_name,
int  group_name_len,
void *  user_data 
)

◆ impl_pfs_set_thread_resource_group_by_id()

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 
)

Variable Documentation

◆ SERVICE_IMPLEMENTATION

const mysql_service_pfs_resource_group_v3_t SERVICE_IMPLEMENTATION(mysql_server, pfs_resource_group_v3) ( mysql_server  ,
pfs_resource_group_v3   
)
Initial value:
= {
int impl_pfs_set_thread_resource_group(const char *group_name, int group_name_len, void *user_data)
Definition: service_pfs_resource_group.cc:37
int impl_pfs_get_thread_system_attrs_by_id(PSI_thread *thread, ulonglong thread_id, PSI_thread_attrs *thread_attrs)
Definition: service_pfs_resource_group.cc:56
int impl_pfs_get_thread_system_attrs(PSI_thread_attrs *thread_attrs)
Definition: service_pfs_resource_group.cc:52
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)
Definition: service_pfs_resource_group.cc:43