MySQL  8.0.21
Source Code Documentation

State data storage for start_table_io_wait_v1_t, start_table_lock_wait_v1_t. More...

#include <psi_table_bits.h>

Public Attributes

unsigned int m_flags
 Internal state. More...
 
enum PSI_table_io_operation m_io_operation
 Current io operation. More...
 
struct PSI_tablem_table
 Current table handle. More...
 
struct PSI_table_sharem_table_share
 Current table share. More...
 
struct PSI_threadm_thread
 Current thread. More...
 
unsigned long long m_timer_start
 Timer start. More...
 
unsigned long long(* m_timer )(void)
 Timer function. More...
 
void * m_wait
 Internal data. More...
 
unsigned int m_index
 Implementation specific. More...
 

Detailed Description

State data storage for start_table_io_wait_v1_t, start_table_lock_wait_v1_t.

This structure provide temporary storage to a table locker. The content of this structure is considered opaque, the fields are only hints of what an implementation of the psi interface can use. This memory is provided by the instrumented code for performance reasons.

See also
start_table_io_wait_v1_t
start_table_lock_wait_v1_t

Member Data Documentation

◆ m_flags

unsigned int PSI_table_locker_state::m_flags

Internal state.

◆ m_index

unsigned int PSI_table_locker_state::m_index

Implementation specific.

For table io, the table io index. For table lock, the lock type.

◆ m_io_operation

enum PSI_table_io_operation PSI_table_locker_state::m_io_operation

Current io operation.

◆ m_table

struct PSI_table* PSI_table_locker_state::m_table

Current table handle.

◆ m_table_share

struct PSI_table_share* PSI_table_locker_state::m_table_share

Current table share.

◆ m_thread

struct PSI_thread* PSI_table_locker_state::m_thread

Current thread.

◆ m_timer

unsigned long long(* PSI_table_locker_state::m_timer) (void)

Timer function.

◆ m_timer_start

unsigned long long PSI_table_locker_state::m_timer_start

Timer start.

◆ m_wait

void* PSI_table_locker_state::m_wait

Internal data.


The documentation for this struct was generated from the following file: