MySQL 9.1.0
Source Code Documentation

Instrumentation metadata of a thread. More...

#include <pfs_instr_class.h>

Inheritance diagram for PFS_thread_class:
[legend]

Public Attributes

PFS_threadm_singleton
 Singleton instance. More...
 
bool m_history {false}
 Thread history instrumentation flag. More...
 
char m_os_name [PFS_MAX_OS_NAME_LENGTH]
 Thread os name. More...
 
std::atomic< unsigned int > m_seqnum
 Thread instance sequence number counter. More...
 
- Public Attributes inherited from PFS_instr_class
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...
 

Additional Inherited Members

- Public Member Functions inherited from PFS_instr_class
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 inherited from PFS_instr_class
static void set_enabled (PFS_instr_class *pfs, bool enabled)
 
static void set_timed (PFS_instr_class *pfs, bool timed)
 

Detailed Description

Instrumentation metadata of a thread.

Member Data Documentation

◆ m_history

bool PFS_thread_class::m_history {false}

Thread history instrumentation flag.

◆ m_os_name

char PFS_thread_class::m_os_name[PFS_MAX_OS_NAME_LENGTH]

Thread os name.

◆ m_seqnum

std::atomic<unsigned int> PFS_thread_class::m_seqnum

Thread instance sequence number counter.

◆ m_singleton

PFS_thread* PFS_thread_class::m_singleton

Singleton instance.


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