24#ifndef TABLE_EVENTS_WAITS_SUMMARY_H
25#define TABLE_EVENTS_WAITS_SUMMARY_H
117 const void *object_instance_begin,
126 bool read_all)
override;
An abstract PERFORMANCE_SCHEMA table.
Definition: pfs_engine_table.h:70
Definition: table_all_instr.h:63
Definition: table_events_waits_summary.h:88
PFS_index_events_waits_summary_by_event_name()
Definition: table_events_waits_summary.h:90
bool match(PFS_mutex *pfs) override
Definition: table_events_waits_summary.cc:127
~PFS_index_events_waits_summary_by_event_name() override=default
PFS_key_event_name m_key
Definition: table_events_waits_summary.h:103
bool match_view(uint view) override
Definition: table_events_waits_summary.cc:187
Definition: table_events_waits_summary.h:70
~PFS_index_events_waits_summary_by_instance() override=default
PFS_key_object_instance m_key
Definition: table_events_waits_summary.h:84
bool match(PFS_mutex *pfs) override
Definition: table_events_waits_summary.cc:82
PFS_index_events_waits_summary_by_instance()
Definition: table_events_waits_summary.h:72
Definition: table_helper.h:1458
Definition: table_helper.h:1700
Class to hold information regarding a table to be created on behalf of a plugin.
Definition: plugin_table.h:40
Abstract table, a union of all instrumentations instances.
Definition: table_all_instr.h:88
Table PERFORMANCE_SCHEMA.EVENTS_WAITS_SUMMARY_BY_INSTANCE.
Definition: table_events_waits_summary.h:107
int make_socket_row(PFS_socket *pfs) override
Build a row, for socket statistics in a thread.
Definition: table_events_waits_summary.cc:320
int make_mutex_row(PFS_mutex *pfs) override
Build a row, for mutex statistics in a thread.
Definition: table_events_waits_summary.cc:255
int make_rwlock_row(PFS_rwlock *pfs) override
Build a row, for rwlock statistics in a thread.
Definition: table_events_waits_summary.cc:270
static THR_LOCK m_table_lock
Table share lock.
Definition: table_events_waits_summary.h:135
static PFS_engine_table_share m_share
Table share.
Definition: table_events_waits_summary.h:110
row_events_waits_summary_by_instance m_row
Current row.
Definition: table_events_waits_summary.h:140
int make_cond_row(PFS_cond *pfs) override
Build a row, for condition statistics in a thread.
Definition: table_events_waits_summary.cc:285
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:341
static PFS_engine_table * create(PFS_engine_table_share *)
Definition: table_events_waits_summary.cc:194
static int delete_all_rows()
Definition: table_events_waits_summary.cc:199
static Plugin_table m_table_def
Table definition.
Definition: table_events_waits_summary.h:137
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:227
int index_init(uint idx, bool sorted) override
Definition: table_events_waits_summary.cc:209
~table_events_waits_summary_by_instance() override=default
table_events_waits_summary_by_instance()
Definition: table_events_waits_summary.cc:204
int make_file_row(PFS_file *pfs) override
Build a row, for file statistics in a thread.
Definition: table_events_waits_summary.cc:300
Some integer typedefs for easier portability.
intptr_t intptr
Definition: my_inttypes.h:70
Definition: buf0block_hint.cc:30
static const LEX_CSTRING pfs
Definition: sql_show_processlist.cc:66
Instrumented condition implementation.
Definition: pfs_instr.h:160
A PERFORMANCE_SCHEMA table share.
Definition: pfs_engine_table.h:358
Instrumented File and FILE implementation.
Definition: pfs_instr.h:177
Information for all instrumentation.
Definition: pfs_instr_class.h:205
Base structure for wait instruments.
Definition: pfs_instr.h:89
Instrumented mutex implementation.
Definition: pfs_instr.h:101
Instrumented rwlock implementation.
Definition: pfs_instr.h:127
Single statistic.
Definition: pfs_stat.h:52
Instrumented socket implementation.
Definition: pfs_instr.h:287
Row fragment for single statistics columns (COUNT, SUM, MIN, AVG, MAX)
Definition: table_helper.h:688
Definition: thr_lock.h:139
A 'lock' protecting performance schema internal buffers.
Definition: pfs_lock.h:154
A row of PERFORMANCE_SCHEMA.EVENTS_WAITS_SUMMARY_BY_INSTANCE.
Definition: table_events_waits_summary.h:59
uint m_name_length
Length in bytes of m_name.
Definition: table_events_waits_summary.h:63
PFS_stat_row m_stat
Columns COUNT_STAR, SUM/MIN/AVG/MAX TIMER_WAIT.
Definition: table_events_waits_summary.h:67
intptr m_object_instance_addr
Column OBJECT_INSTANCE_BEGIN.
Definition: table_events_waits_summary.h:65
const char * m_name
Column EVENT_NAME.
Definition: table_events_waits_summary.h:61
Abstract tables for all instruments (declarations).
Helpers to implement a performance schema table.
unsigned int uint
Definition: uca9-dump.cc:75