MySQL 9.0.0
Source Code Documentation
service_pfs_resource_group.cc File Reference

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

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)
 

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 
)

◆ pfs_get_thread_system_attrs_by_id_vc()

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.

See also
PSI_v2::get_thread_system_attrs_by_id.

◆ pfs_get_thread_system_attrs_vc()

int pfs_get_thread_system_attrs_vc ( PSI_thread_attrs thread_attrs)

Implementation of the thread instrumentation interface.

See also
PSI_v2::get_thread_system_attrs.

◆ pfs_set_thread_resource_group_by_id_vc()

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.

See also
PSI_v2::set_thread_resource_group_by_id

◆ pfs_set_thread_resource_group_vc()

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

Implementation of the thread instrumentation interface.

See also
PSI_v2::set_thread_resource_group

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:51
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:70
int impl_pfs_get_thread_system_attrs(PSI_thread_attrs *thread_attrs)
Definition: service_pfs_resource_group.cc:66
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:57