MySQL 9.1.0
Source Code Documentation
|
Instrumented table implementation. More...
#include <pfs_instr.h>
Public Member Functions | |
void | aggregate (const TABLE_SHARE *server_share) |
Aggregate this table handle statistics to the parents. More... | |
void | sanitized_aggregate () |
Aggregate this table handle statistics to the parents. More... | |
void | sanitized_aggregate_io () |
Aggregate this table handle I/O statistics to the parents. More... | |
void | sanitized_aggregate_lock () |
Aggregate this table handle lock statistics to the parents. More... | |
Public Attributes | |
bool | m_io_enabled |
True if table I/O instrumentation is enabled. More... | |
bool | m_lock_enabled |
True if table lock instrumentation is enabled. More... | |
bool | m_io_timed |
True if table I/O instrumentation is timed. More... | |
bool | m_lock_timed |
True if table lock instrumentation is timed. More... | |
bool | m_has_io_stats |
True if table I/O statistics have been collected. More... | |
bool | m_has_lock_stats |
True if table lock statistics have been collected. More... | |
pfs_lock | m_lock |
Internal lock. More... | |
PFS_thread * | m_thread_owner |
Thread Owner. More... | |
ulonglong | m_owner_event_id |
Event Owner. More... | |
PFS_table_share * | m_share |
Table share. More... | |
const void * | m_identity |
Table identity, typically a handler. More... | |
PFS_table_stat | m_table_stat |
Table statistics. More... | |
PFS_TL_LOCK_TYPE | m_internal_lock |
Current internal lock. More... | |
PFS_TL_LOCK_TYPE | m_external_lock |
Current external lock. More... | |
PFS_opaque_container_page * | m_page |
Container page. More... | |
Static Private Member Functions | |
static void | safe_aggregate_io (const TABLE_SHARE *optional_server_share, PFS_table_stat *stat, PFS_table_share *table_share) |
static void | safe_aggregate_lock (PFS_table_stat *stat, PFS_table_share *table_share) |
Instrumented table implementation.
|
inline |
Aggregate this table handle statistics to the parents.
Only use this method for handles owned by the calling code.
PFS_TL_LOCK_TYPE PFS_table::m_external_lock |
Current external lock.
bool PFS_table::m_has_io_stats |
True if table I/O statistics have been collected.
bool PFS_table::m_has_lock_stats |
True if table lock statistics have been collected.
const void* PFS_table::m_identity |
Table identity, typically a handler.
PFS_TL_LOCK_TYPE PFS_table::m_internal_lock |
Current internal lock.
bool PFS_table::m_io_enabled |
True if table I/O instrumentation is enabled.
This flag is computed.
bool PFS_table::m_io_timed |
True if table I/O instrumentation is timed.
This flag is computed.
pfs_lock PFS_table::m_lock |
Internal lock.
bool PFS_table::m_lock_enabled |
True if table lock instrumentation is enabled.
This flag is computed.
bool PFS_table::m_lock_timed |
True if table lock instrumentation is timed.
This flag is computed.
ulonglong PFS_table::m_owner_event_id |
Event Owner.
PFS_opaque_container_page* PFS_table::m_page |
Container page.
PFS_table_share* PFS_table::m_share |
Table share.
PFS_table_stat PFS_table::m_table_stat |
Table statistics.
PFS_thread* PFS_table::m_thread_owner |
Thread Owner.