73 void aggregate(
bool alive);
74 void aggregate_waits();
75 void aggregate_stages();
76 void aggregate_statements();
77 void aggregate_transactions();
78 void aggregate_errors();
79 void aggregate_memory(
bool alive);
80 void aggregate_status();
81 void aggregate_stats();
85 void rebase_memory_stats();
93 m_has_memory_stats =
false;
94 m_instr_class_memory_stats = array;
98 if (!m_has_memory_stats) {
101 return m_instr_class_memory_stats;
105 if (!m_has_memory_stats) {
106 rebase_memory_stats();
107 m_has_memory_stats =
true;
109 return m_instr_class_memory_stats;
117 m_disconnected_count = 0;
118 m_max_controlled_memory = 0;
119 m_max_total_memory = 0;
123 void aggregate_disconnect(
ulonglong controlled_memory,
Some integer typedefs for easier portability.
unsigned long long int ulonglong
Definition: my_inttypes.h:56
Common definition between mysql server & client.
char * user
Definition: mysqladmin.cc:60
Performance schema connection slice (declarations).
Miscellaneous global dependencies (declarations).
#define PFS_ALIGNED
Definition: pfs_global.h:57
Performance schema internal locks (declarations).
Object names (declarations).
static const LEX_CSTRING pfs
Definition: sql_show_processlist.cc:66
Per account statistics.
Definition: pfs_account.h:67
A connection slice, an arbitrary grouping of several connections.
Definition: pfs_con_slice.h:54
Performance schema global sizing parameters.
Definition: pfs_server.h:113
Definition: pfs_stat.h:937
Definition: pfs_stat.h:883
Definition: pfs_stat.h:888
Instrumented thread implementation.
Definition: pfs_instr.h:373
Hash key for a user.
Definition: pfs_user.h:57
PFS_user_name m_user_name
User name.
Definition: pfs_user.h:59
Definition: pfs_name.h:470
Per user statistics.
Definition: pfs_user.h:63
const PFS_memory_shared_stat * read_instr_class_memory_stats() const
Definition: pfs_user.h:97
std::atomic< int > m_refcount
Definition: pfs_user.h:131
int get_refcount()
Definition: pfs_user.h:67
PFS_memory_shared_stat * m_instr_class_memory_stats
Per user memory aggregated statistics.
Definition: pfs_user.h:139
PFS_memory_shared_stat * write_instr_class_memory_stats()
Definition: pfs_user.h:104
void set_instr_class_memory_stats(PFS_memory_shared_stat *array)
Definition: pfs_user.h:92
ulonglong m_disconnected_count
Definition: pfs_user.h:126
pfs_lock m_lock
Internal lock.
Definition: pfs_user.h:113
void dec_refcount()
Definition: pfs_user.h:71
PFS_user_key m_key
Definition: pfs_user.h:114
ulonglong m_max_total_memory
Definition: pfs_user.h:128
ulonglong m_max_controlled_memory
Definition: pfs_user.h:127
void init_refcount()
Definition: pfs_user.h:65
void inc_refcount()
Definition: pfs_user.h:69
void reset_connections_stats()
Definition: pfs_user.h:116
A 'lock' protecting performance schema internal buffers.
Definition: pfs_lock.h:154
unsigned int uint
Definition: uca9-dump.cc:75
static void alive(server *s)
Definition: xcom_transport.cc:161