MySQL 8.0.40
Source Code Documentation

Information for all instrumentation. More...

#include <pfs_instr_class.h>

Inheritance diagram for PFS_instr_class:
[legend]

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_system_thread () const
 
bool is_global () const
 
bool has_seqnum () const
 
bool has_auto_seqnum () const
 
bool has_default_memory_cnt () const
 
bool has_enforced_memory_cnt () const
 
bool is_disabled () const
 
bool is_untimed () const
 
void set_enforced_flags (uint flags)
 
void enforce_valid_flags (uint allowed_flags)
 
bool is_deferred () const
 
bool can_be_timed () const
 
bool can_be_enforced () 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...
 
uint m_enforced_flags
 Instrument enforced flags. More...
 
int m_volatility
 Volatility index. More...
 
uint m_event_name_index
 Instrument name index. More...
 
PFS_instr_name m_name
 Instrument name. More...
 
char * m_documentation
 Documentation. More...
 

Detailed Description

Information for all instrumentation.

Member Function Documentation

◆ can_be_enforced()

bool PFS_instr_class::can_be_enforced ( ) const
inline

◆ 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

◆ has_auto_seqnum()

bool PFS_instr_class::has_auto_seqnum ( ) const
inline

◆ has_default_memory_cnt()

bool PFS_instr_class::has_default_memory_cnt ( ) const
inline

◆ has_enforced_memory_cnt()

bool PFS_instr_class::has_enforced_memory_cnt ( ) const
inline

◆ has_seqnum()

bool PFS_instr_class::has_seqnum ( ) const
inline

◆ is_deferred()

bool PFS_instr_class::is_deferred ( ) const
inline

◆ is_disabled()

bool PFS_instr_class::is_disabled ( ) 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_system_thread()

bool PFS_instr_class::is_system_thread ( ) const
inline

◆ is_transferable()

bool PFS_instr_class::is_transferable ( ) const
inline

◆ is_untimed()

bool PFS_instr_class::is_untimed ( ) 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_enforced_flags()

void PFS_instr_class::set_enforced_flags ( uint  flags)
inline

◆ 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_enforced_flags

uint PFS_instr_class::m_enforced_flags

Instrument enforced flags.

◆ 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

PFS_instr_name PFS_instr_class::m_name

Instrument 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: