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

#include <pfs_instr_class.h>

Inheritance diagram for PFS_instr_class:

Public Member Functions

bool is_singleton () const
bool is_deferred () const

Static Public Member Functions

static void set_enabled (PFS_instr_class *pfs, bool enabled)
static void set_timed (PFS_instr_class *pfs, bool timed)

Public Attributes

PFS_class_type m_type
bool m_enabled
bool m_timed
int m_flags
uint m_event_name_index
char m_name [PFS_MAX_INFO_NAME_LENGTH]
uint m_name_length
enum_timer_namem_timer

Detailed Description

Information for all instrumentation.

Definition at line 122 of file pfs_instr_class.h.

Member Data Documentation

bool PFS_instr_class::m_enabled

True if this instrument is enabled.

Definition at line 127 of file pfs_instr_class.h.

uint PFS_instr_class::m_event_name_index

Instrument name index. Self index in:

  • EVENTS_WAITS_SUMMARY_*_BY_EVENT_NAME for waits
  • EVENTS_STAGES_SUMMARY_*_BY_EVENT_NAME for stages
  • EVENTS_STATEMENTS_SUMMARY_*_BY_EVENT_NAME for statements

Definition at line 139 of file pfs_instr_class.h.

int PFS_instr_class::m_flags

Instrument flags.

Definition at line 131 of file pfs_instr_class.h.

char PFS_instr_class::m_name[PFS_MAX_INFO_NAME_LENGTH]

Instrument name.

Definition at line 141 of file pfs_instr_class.h.

uint PFS_instr_class::m_name_length

Length in bytes of m_name.

Definition at line 143 of file pfs_instr_class.h.

bool PFS_instr_class::m_timed

True if this instrument is timed.

Definition at line 129 of file pfs_instr_class.h.

enum_timer_name* PFS_instr_class::m_timer

Timer associated with this class.

Definition at line 145 of file pfs_instr_class.h.

PFS_class_type PFS_instr_class::m_type

Class type

Definition at line 125 of file pfs_instr_class.h.


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