|
MySQL 5.6.14 Source Code Document
|
#include "my_global.h"#include "my_sys.h"#include "pfs_global.h"#include "pfs_instr_class.h"#include "pfs_instr.h"#include "pfs_account.h"#include "pfs_host.h"#include "pfs_user.h"#include "pfs_events_stages.h"#include "pfs_atomic.h"#include "m_string.h"
Go to the source code of this file.
Functions | |
| int | init_events_stages_history_long (uint events_stages_history_long_sizing) |
| void | cleanup_events_stages_history_long (void) |
| void | insert_events_stages_history (PFS_thread *thread, PFS_events_stages *stage) |
| void | insert_events_stages_history_long (PFS_events_stages *stage) |
| void | reset_events_stages_current (void) |
| void | reset_events_stages_history (void) |
| void | reset_events_stages_history_long (void) |
| void | reset_events_stages_by_thread () |
| void | reset_events_stages_by_account () |
| void | reset_events_stages_by_user () |
| void | reset_events_stages_by_host () |
| void | reset_events_stages_global () |
Variables | |
| ulong | events_stages_history_long_size = 0 |
| bool | flag_events_stages_current = false |
| bool | flag_events_stages_history = false |
| bool | flag_events_stages_history_long = false |
| bool | events_stages_history_long_full = false |
| volatile uint32 | events_stages_history_long_index = 0 |
| PFS_events_stages * | events_stages_history_long_array = NULL |
Events stages data structures (implementation).
Definition in file pfs_events_stages.cc.
| void cleanup_events_stages_history_long | ( | void | ) |
Cleanup table EVENTS_STAGES_HISTORY_LONG.
Definition at line 69 of file pfs_events_stages.cc.

| int init_events_stages_history_long | ( | uint | events_stages_history_long_sizing | ) |
Initialize table EVENTS_STAGES_HISTORY_LONG.
| events_stages_history_long_sizing | table sizing |
Definition at line 52 of file pfs_events_stages.cc.


| void insert_events_stages_history | ( | PFS_thread * | thread, |
| PFS_events_stages * | stage | ||
| ) |
Insert a stage record in table EVENTS_STAGES_HISTORY.
| thread | thread that executed the wait |
| stage | record to insert |
Definition at line 86 of file pfs_events_stages.cc.
| void insert_events_stages_history_long | ( | PFS_events_stages * | stage | ) |
Insert a stage record in table EVENTS_STAGES_HISTORY_LONG.
| stage | record to insert |
Definition at line 118 of file pfs_events_stages.cc.

| void reset_events_stages_by_account | ( | ) |
Reset table EVENTS_STAGES_SUMMARY_BY_ACCOUNT_BY_EVENT_NAME data.
Definition at line 199 of file pfs_events_stages.cc.

| void reset_events_stages_by_host | ( | ) |
Reset table EVENTS_STAGES_SUMMARY_BY_HOST_BY_EVENT_NAME data.
Definition at line 231 of file pfs_events_stages.cc.

| void reset_events_stages_by_thread | ( | ) |
Reset table EVENTS_STAGES_SUMMARY_BY_THREAD_BY_EVENT_NAME data.
Definition at line 178 of file pfs_events_stages.cc.

| void reset_events_stages_by_user | ( | ) |
Reset table EVENTS_STAGES_SUMMARY_BY_USER_BY_EVENT_NAME data.
Definition at line 218 of file pfs_events_stages.cc.

| void reset_events_stages_current | ( | void | ) |
Reset table EVENTS_STAGES_CURRENT data.
Definition at line 136 of file pfs_events_stages.cc.
| void reset_events_stages_global | ( | ) |
Reset table EVENTS_STAGES_GLOBAL_BY_EVENT_NAME data.
Definition at line 244 of file pfs_events_stages.cc.
| void reset_events_stages_history | ( | void | ) |
Reset table EVENTS_STAGES_HISTORY data.
Definition at line 148 of file pfs_events_stages.cc.
| void reset_events_stages_history_long | ( | void | ) |
Reset table EVENTS_STAGES_HISTORY_LONG data.
Definition at line 166 of file pfs_events_stages.cc.

| PFS_events_stages* events_stages_history_long_array = NULL |
EVENTS_STAGES_HISTORY_LONG circular buffer.
Definition at line 46 of file pfs_events_stages.cc.
| bool events_stages_history_long_full = false |
True if EVENTS_STAGES_HISTORY_LONG circular buffer is full.
Definition at line 42 of file pfs_events_stages.cc.
| volatile uint32 events_stages_history_long_index = 0 |
Index in EVENTS_STAGES_HISTORY_LONG circular buffer.
Definition at line 44 of file pfs_events_stages.cc.
| bool flag_events_stages_current = false |
Consumer flag for table EVENTS_STAGES_CURRENT.
Definition at line 35 of file pfs_events_stages.cc.
| bool flag_events_stages_history = false |
Consumer flag for table EVENTS_STAGES_HISTORY.
Definition at line 37 of file pfs_events_stages.cc.
| bool flag_events_stages_history_long = false |
Consumer flag for table EVENTS_STAGES_HISTORY_LONG.
Definition at line 39 of file pfs_events_stages.cc.