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

#include <table_events_waits_summary.h>

Inheritance diagram for table_events_waits_summary_by_instance:
Collaboration diagram for table_events_waits_summary_by_instance:

Static Public Member Functions

static PFS_engine_tablecreate ()
static int delete_all_rows ()

Static Public Attributes

static PFS_engine_table_share m_share

Protected Member Functions

void make_instr_row (PFS_instr *pfs, PFS_instr_class *klass, const void *object_instance_begin, PFS_single_stat *pfs_stat)
virtual void make_mutex_row (PFS_mutex *pfs)
virtual void make_rwlock_row (PFS_rwlock *pfs)
virtual void make_cond_row (PFS_cond *pfs)
virtual void make_file_row (PFS_file *pfs)
virtual void make_socket_row (PFS_socket *pfs)
virtual int read_row_values (TABLE *table, unsigned char *buf, Field **fields, bool read_all)
- Protected Member Functions inherited from table_all_instr
 table_all_instr (const PFS_engine_table_share *share)
- Protected Member Functions inherited from PFS_engine_table
virtual int update_row_values (TABLE *table, const unsigned char *old_buf, unsigned char *new_buf, Field **fields)
virtual int delete_row_values (TABLE *table, const unsigned char *buf, Field **fields)
 PFS_engine_table (const PFS_engine_table_share *share, void *pos)

Additional Inherited Members

- Public Member Functions inherited from table_all_instr
virtual int rnd_next ()
virtual int rnd_pos (const void *pos)
virtual void reset_position (void)
- Protected Attributes inherited from table_all_instr
pos_all_instr m_pos
pos_all_instr m_next_pos

Detailed Description

Table PERFORMANCE_SCHEMA.EVENTS_WAITS_SUMMARY_BY_INSTANCE.

Definition at line 50 of file table_events_waits_summary.h.

Member Function Documentation

void table_events_waits_summary_by_instance::make_cond_row ( PFS_cond pfs)
protectedvirtual

Build a row, for condition statistics in a thread.

Parameters
pfsthe condition this cursor is reading

Implements table_all_instr.

Definition at line 163 of file table_events_waits_summary.cc.

void table_events_waits_summary_by_instance::make_file_row ( PFS_file pfs)
protectedvirtual

Build a row, for file statistics in a thread.

Parameters
pfsthe file this cursor is reading

Implements table_all_instr.

Definition at line 177 of file table_events_waits_summary.cc.

void table_events_waits_summary_by_instance::make_mutex_row ( PFS_mutex pfs)
protectedvirtual

Build a row, for mutex statistics in a thread.

Parameters
pfsthe mutex this cursor is reading

Implements table_all_instr.

Definition at line 135 of file table_events_waits_summary.cc.

void table_events_waits_summary_by_instance::make_rwlock_row ( PFS_rwlock pfs)
protectedvirtual

Build a row, for rwlock statistics in a thread.

Parameters
pfsthe rwlock this cursor is reading

Implements table_all_instr.

Definition at line 149 of file table_events_waits_summary.cc.

void table_events_waits_summary_by_instance::make_socket_row ( PFS_socket pfs)
protectedvirtual

Build a row, for socket statistics in a thread.

Parameters
pfsthe socket this cursor is reading

Implements table_all_instr.

Definition at line 197 of file table_events_waits_summary.cc.

int table_events_waits_summary_by_instance::read_row_values ( TABLE table,
unsigned char *  buf,
Field **  fields,
bool  read_all 
)
protectedvirtual

Read the current row values.

Parameters
tableTable handle
bufrow buffer
fieldsTable fields
read_alltrue if all columns are read.

Implements PFS_engine_table.

Definition at line 219 of file table_events_waits_summary.cc.

Member Data Documentation

PFS_engine_table_share table_events_waits_summary_by_instance::m_share
static
Initial value:
{
{ C_STRING_WITH_LEN("events_waits_summary_by_instance") },
&table_events_waits_summary_by_instance::create,
NULL,
&table_events_waits_summary_by_instance::delete_all_rows,
NULL,
1000,
sizeof(pos_all_instr),
&m_table_lock,
&m_field_def,
false
}

Table share

Definition at line 54 of file table_events_waits_summary.h.


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