23#ifndef TABLE_EVENTS_WAITS_SUMMARY_H
24#define TABLE_EVENTS_WAITS_SUMMARY_H
112 int index_init(uint idx,
bool sorted)
override;
116 const void *object_instance_begin,
125 bool read_all)
override;
An abstract PERFORMANCE_SCHEMA table.
Definition: pfs_engine_table.h:69
Definition: table_all_instr.h:62
Definition: table_events_waits_summary.h:87
PFS_index_events_waits_summary_by_event_name()
Definition: table_events_waits_summary.h:89
bool match(PFS_mutex *pfs) override
Definition: table_events_waits_summary.cc:126
~PFS_index_events_waits_summary_by_event_name() override=default
PFS_key_event_name m_key
Definition: table_events_waits_summary.h:102
bool match_view(uint view) override
Definition: table_events_waits_summary.cc:186
Definition: table_events_waits_summary.h:69
~PFS_index_events_waits_summary_by_instance() override=default
PFS_key_object_instance m_key
Definition: table_events_waits_summary.h:83
bool match(PFS_mutex *pfs) override
Definition: table_events_waits_summary.cc:81
PFS_index_events_waits_summary_by_instance()
Definition: table_events_waits_summary.h:71
Definition: table_helper.h:1431
Definition: table_helper.h:1673
Class to hold information regarding a table to be created on behalf of a plugin.
Definition: plugin_table.h:39
Abstract table, a union of all instrumentations instances.
Definition: table_all_instr.h:87
Table PERFORMANCE_SCHEMA.EVENTS_WAITS_SUMMARY_BY_INSTANCE.
Definition: table_events_waits_summary.h:106
int make_socket_row(PFS_socket *pfs) override
Build a row, for socket statistics in a thread.
Definition: table_events_waits_summary.cc:319
int make_mutex_row(PFS_mutex *pfs) override
Build a row, for mutex statistics in a thread.
Definition: table_events_waits_summary.cc:254
int make_rwlock_row(PFS_rwlock *pfs) override
Build a row, for rwlock statistics in a thread.
Definition: table_events_waits_summary.cc:269
static THR_LOCK m_table_lock
Table share lock.
Definition: table_events_waits_summary.h:134
static PFS_engine_table_share m_share
Table share.
Definition: table_events_waits_summary.h:109
row_events_waits_summary_by_instance m_row
Current row.
Definition: table_events_waits_summary.h:139
int make_cond_row(PFS_cond *pfs) override
Build a row, for condition statistics in a thread.
Definition: table_events_waits_summary.cc:284
int read_row_values(TABLE *table, unsigned char *buf, Field **fields, bool read_all) override
Read the current row values.
Definition: table_events_waits_summary.cc:340
static PFS_engine_table * create(PFS_engine_table_share *)
Definition: table_events_waits_summary.cc:193
static int delete_all_rows()
Definition: table_events_waits_summary.cc:198
static Plugin_table m_table_def
Table definition.
Definition: table_events_waits_summary.h:136
int make_instr_row(pfs_lock *object_lock, PFS_instr_class *klass, const void *object_instance_begin, PFS_single_stat *pfs_stat)
Definition: table_events_waits_summary.cc:226
int index_init(uint idx, bool sorted) override
Definition: table_events_waits_summary.cc:208
~table_events_waits_summary_by_instance() override=default
table_events_waits_summary_by_instance()
Definition: table_events_waits_summary.cc:203
int make_file_row(PFS_file *pfs) override
Build a row, for file statistics in a thread.
Definition: table_events_waits_summary.cc:299
Some integer typedefs for easier portability.
intptr_t intptr
Definition: my_inttypes.h:69
static PFS_engine_table_share_proxy table
Definition: pfs.cc:60
Definition: buf0block_hint.cc:29
static const LEX_CSTRING pfs
Definition: sql_show_processlist.cc:65
Instrumented condition implementation.
Definition: pfs_instr.h:161
A PERFORMANCE_SCHEMA table share.
Definition: pfs_engine_table.h:357
Instrumented File and FILE implementation.
Definition: pfs_instr.h:178
Information for all instrumentation.
Definition: pfs_instr_class.h:204
Base structure for wait instruments.
Definition: pfs_instr.h:90
Instrumented mutex implementation.
Definition: pfs_instr.h:102
Instrumented rwlock implementation.
Definition: pfs_instr.h:128
Single statistic.
Definition: pfs_stat.h:51
Instrumented socket implementation.
Definition: pfs_instr.h:288
Row fragment for single statistics columns (COUNT, SUM, MIN, AVG, MAX)
Definition: table_helper.h:661
Definition: thr_lock.h:138
A 'lock' protecting performance schema internal buffers.
Definition: pfs_lock.h:153
A row of PERFORMANCE_SCHEMA.EVENTS_WAITS_SUMMARY_BY_INSTANCE.
Definition: table_events_waits_summary.h:58
uint m_name_length
Length in bytes of m_name.
Definition: table_events_waits_summary.h:62
PFS_stat_row m_stat
Columns COUNT_STAR, SUM/MIN/AVG/MAX TIMER_WAIT.
Definition: table_events_waits_summary.h:66
intptr m_object_instance_addr
Column OBJECT_INSTANCE_BEGIN.
Definition: table_events_waits_summary.h:64
const char * m_name
Column EVENT_NAME.
Definition: table_events_waits_summary.h:60
Abstract tables for all instruments (declarations).
Helpers to implement a performance schema table.