MySQL 8.0.40
Source Code Documentation
PFS_events_waits Struct Reference

A wait event record. More...

#include <pfs_events_waits.h>

Inheritance diagram for PFS_events_waits:
[legend]

Public Attributes

events_waits_class m_wait_class
 The type of wait. More...
 
enum_object_type m_object_type
 Object type. More...
 
PFS_table_sharem_weak_table_share
 Table share, for table operations only. More...
 
PFS_filem_weak_file
 File, for file operations only. More...
 
PFS_socketm_weak_socket
 Socket, for socket operations only. More...
 
PFS_metadata_lockm_weak_metadata_lock
 Metadata lock, for MDL operations only. More...
 
uint32 m_weak_version
 For weak pointers, target object version. More...
 
const void * m_object_instance_addr
 Address in memory of the object instance waited on. More...
 
enum_operation_type m_operation
 Operation performed. More...
 
size_t m_number_of_bytes
 Number of bytes/rows read/written. More...
 
uint m_index
 Index used. More...
 
ulong m_flags
 Flags. More...
 
- Public Attributes inherited from PFS_events
ulonglong m_thread_internal_id
 THREAD_ID. More...
 
ulonglong m_event_id
 EVENT_ID. More...
 
ulonglong m_end_event_id
 END_EVENT_ID. More...
 
enum_event_type m_event_type
 (EVENT_TYPE) More...
 
ulonglong m_nesting_event_id
 NESTING_EVENT_ID. More...
 
enum_event_type m_nesting_event_type
 NESTING_EVENT_TYPE. More...
 
uint m_nesting_event_level
 NESTING_EVENT_LEVEL. More...
 
PFS_instr_classm_class
 Instrument metadata. More...
 
ulonglong m_timer_start
 Timer start. More...
 
ulonglong m_timer_end
 Timer end. More...
 
const char * m_source_file
 Location of the instrumentation in the source code (file name). More...
 
uint m_source_line
 Location of the instrumentation in the source code (line number). More...
 

Additional Inherited Members

- Public Member Functions inherited from PFS_events
PFS_eventsoperator= (const PFS_events &rhs)=default
 

Detailed Description

A wait event record.

Member Data Documentation

◆ m_flags

ulong PFS_events_waits::m_flags

Flags.

◆ m_index

uint PFS_events_waits::m_index

Index used.

This member is populated for TABLE I/O operations only.

◆ m_number_of_bytes

size_t PFS_events_waits::m_number_of_bytes

Number of bytes/rows read/written.

This member is populated for FILE READ/WRITE operations, with a number of bytes. This member is populated for TABLE I/O operations, with a number of rows.

◆ m_object_instance_addr

const void* PFS_events_waits::m_object_instance_addr

Address in memory of the object instance waited on.

◆ m_object_type

enum_object_type PFS_events_waits::m_object_type

Object type.

◆ m_operation

enum_operation_type PFS_events_waits::m_operation

Operation performed.

◆ m_wait_class

events_waits_class PFS_events_waits::m_wait_class

The type of wait.

Readers:

  • the consumer threads. Writers:
  • the producer threads, in the instrumentation. Out of bound Writers:
  • TRUNCATE EVENTS_WAITS_CURRENT
  • TRUNCATE EVENTS_WAITS_HISTORY
  • TRUNCATE EVENTS_WAITS_HISTORY_LONG

◆ m_weak_file

PFS_file* PFS_events_waits::m_weak_file

File, for file operations only.

◆ m_weak_metadata_lock

PFS_metadata_lock* PFS_events_waits::m_weak_metadata_lock

Metadata lock, for MDL operations only.

◆ m_weak_socket

PFS_socket* PFS_events_waits::m_weak_socket

Socket, for socket operations only.

◆ m_weak_table_share

PFS_table_share* PFS_events_waits::m_weak_table_share

Table share, for table operations only.

◆ m_weak_version

uint32 PFS_events_waits::m_weak_version

For weak pointers, target object version.


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