MySQL  8.0.20
Source Code Documentation

Information for all instrumentation. More...

#include <pfs_instr_class.h>

Inheritance diagram for PFS_instr_class:
PFS_cond_class PFS_error_class PFS_file_class PFS_memory_class PFS_mutex_class PFS_rwlock_class PFS_socket_class PFS_stage_class PFS_statement_class PFS_thread_class PFS_transaction_class

Public Member Functions

bool is_singleton () const
 
bool is_mutable () const
 
bool is_progress () const
 
bool is_shared_exclusive () const
 
bool is_priority () const
 
bool is_transferable () const
 
bool is_user () const
 
bool is_global () const
 
void enforce_valid_flags (uint allowed_flags)
 
bool is_deferred () const
 
bool can_be_timed () const
 

Static Public Member Functions

static void set_enabled (PFS_instr_class *pfs, bool enabled)
 
static void set_timed (PFS_instr_class *pfs, bool timed)
 

Public Attributes

PFS_class_type m_type
 Class type. More...
 
bool m_enabled
 True if this instrument is enabled. More...
 
bool m_timed
 True if this instrument is timed. More...
 
uint m_flags
 Instrument flags. More...
 
int m_volatility
 Volatility index. More...
 
uint m_event_name_index
 Instrument name index. More...
 
char m_name [PFS_MAX_INFO_NAME_LENGTH]
 Instrument name. More...
 
uint m_name_length
 Length in bytes of m_name. More...
 
char * m_documentation
 Documentation. More...
 

Detailed Description

Information for all instrumentation.

Member Function Documentation

◆ can_be_timed()

bool PFS_instr_class::can_be_timed ( ) const
inline

◆ enforce_valid_flags()

void PFS_instr_class::enforce_valid_flags ( uint  allowed_flags)
inline

◆ is_deferred()

bool PFS_instr_class::is_deferred ( ) const
inline

◆ is_global()

bool PFS_instr_class::is_global ( ) const
inline

◆ is_mutable()

bool PFS_instr_class::is_mutable ( ) const
inline

◆ is_priority()

bool PFS_instr_class::is_priority ( ) const
inline

◆ is_progress()

bool PFS_instr_class::is_progress ( ) const
inline

◆ is_shared_exclusive()

bool PFS_instr_class::is_shared_exclusive ( ) const
inline

◆ is_singleton()

bool PFS_instr_class::is_singleton ( ) const
inline

◆ is_transferable()

bool PFS_instr_class::is_transferable ( ) const
inline

◆ is_user()

bool PFS_instr_class::is_user ( ) const
inline

◆ set_enabled()

static void PFS_instr_class::set_enabled ( PFS_instr_class pfs,
bool  enabled 
)
static

◆ set_timed()

static void PFS_instr_class::set_timed ( PFS_instr_class pfs,
bool  timed 
)
static

Member Data Documentation

◆ m_documentation

char* PFS_instr_class::m_documentation

Documentation.

◆ m_enabled

bool PFS_instr_class::m_enabled

True if this instrument is enabled.

◆ m_event_name_index

uint PFS_instr_class::m_event_name_index

Instrument name index.

Self index in:

  • EVENTS_WAITS_SUMMARY_*_BY_EVENT_NAME for waits
  • EVENTS_STAGES_SUMMARY_*_BY_EVENT_NAME for stages
  • EVENTS_STATEMENTS_SUMMARY_*_BY_EVENT_NAME for statements
  • EVENTS_TRANSACTIONS_SUMMARY_*_BY_EVENT_NAME for transactions

◆ m_flags

uint PFS_instr_class::m_flags

Instrument flags.

◆ m_name

char PFS_instr_class::m_name[PFS_MAX_INFO_NAME_LENGTH]

Instrument name.

◆ m_name_length

uint PFS_instr_class::m_name_length

Length in bytes of m_name.

◆ m_timed

bool PFS_instr_class::m_timed

True if this instrument is timed.

◆ m_type

PFS_class_type PFS_instr_class::m_type

Class type.

◆ m_volatility

int PFS_instr_class::m_volatility

Volatility index.


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