MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PFS_table Struct Reference

#include <pfs_instr.h>

Collaboration diagram for PFS_table:

Public Member Functions

void aggregate (void)
void sanitized_aggregate (void)
void sanitized_aggregate_io (void)
void sanitized_aggregate_lock (void)

Public Attributes

bool m_io_enabled
bool m_lock_enabled
bool m_io_timed
bool m_lock_timed
bool m_has_io_stats
bool m_has_lock_stats
pfs_lock m_lock
PFS_threadm_thread_owner
PFS_table_sharem_share
const void * m_identity
PFS_table_stat m_table_stat

Detailed Description

Instrumented table implementation.

See Also
PSI_table.

Definition at line 145 of file pfs_instr.h.

Member Function Documentation

void PFS_table::aggregate ( void  )
inline

Aggregate this table handle statistics to the parents. Only use this method for handles owned by the calling code.

See Also
sanitized_aggregate.

Definition at line 180 of file pfs_instr.h.

Member Data Documentation

bool PFS_table::m_has_io_stats

True if table io statistics have been collected.

Definition at line 169 of file pfs_instr.h.

bool PFS_table::m_has_lock_stats

True if table lock statistics have been collected.

Definition at line 172 of file pfs_instr.h.

const void* PFS_table::m_identity

Table identity, typically a handler.

Definition at line 228 of file pfs_instr.h.

bool PFS_table::m_io_enabled

True if table io instrumentation is enabled. This flag is computed.

Definition at line 151 of file pfs_instr.h.

bool PFS_table::m_io_timed

True if table io instrumentation is timed. This flag is computed.

Definition at line 161 of file pfs_instr.h.

pfs_lock PFS_table::m_lock

Internal lock.

Definition at line 222 of file pfs_instr.h.

bool PFS_table::m_lock_enabled

True if table lock instrumentation is enabled. This flag is computed.

Definition at line 156 of file pfs_instr.h.

bool PFS_table::m_lock_timed

True if table lock instrumentation is timed. This flag is computed.

Definition at line 166 of file pfs_instr.h.

PFS_table_share* PFS_table::m_share

Table share.

Definition at line 226 of file pfs_instr.h.

PFS_table_stat PFS_table::m_table_stat

Table statistics.

Definition at line 230 of file pfs_instr.h.

PFS_thread* PFS_table::m_thread_owner

Owner.

Definition at line 224 of file pfs_instr.h.


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