74 void aggregate(
bool alive);
75 void aggregate_waits();
76 void aggregate_stages();
77 void aggregate_statements();
78 void aggregate_transactions();
79 void aggregate_errors();
80 void aggregate_memory(
bool alive);
81 void aggregate_status();
82 void aggregate_stats();
86 void rebase_memory_stats();
94 m_has_memory_stats =
false;
95 m_instr_class_memory_stats = array;
99 if (!m_has_memory_stats) {
102 return m_instr_class_memory_stats;
106 if (!m_has_memory_stats) {
107 rebase_memory_stats();
108 m_has_memory_stats =
true;
110 return m_instr_class_memory_stats;
118 m_disconnected_count = 0;
119 m_max_controlled_memory = 0;
120 m_max_total_memory = 0;
124 void aggregate_disconnect(
ulonglong controlled_memory,
Common definition used by mysys, performance schema and server & client.
Some integer typedefs for easier portability.
unsigned long long int ulonglong
Definition: my_inttypes.h:56
Common definition between mysql server & client.
const char * host
Definition: mysqladmin.cc:65
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:119
Hash key for a host.
Definition: pfs_host.h:58
PFS_host_name m_host_name
Host name.
Definition: pfs_host.h:60
Definition: pfs_name.h:516
Per host statistics.
Definition: pfs_host.h:64
PFS_host_key m_key
Definition: pfs_host.h:115
pfs_lock m_lock
Definition: pfs_host.h:114
PFS_memory_shared_stat * write_instr_class_memory_stats()
Definition: pfs_host.h:105
PFS_memory_shared_stat * m_instr_class_memory_stats
Per host memory aggregated statistics.
Definition: pfs_host.h:140
void inc_refcount()
Definition: pfs_host.h:70
ulonglong m_max_total_memory
Definition: pfs_host.h:129
void dec_refcount()
Definition: pfs_host.h:72
void init_refcount()
Definition: pfs_host.h:66
void set_instr_class_memory_stats(PFS_memory_shared_stat *array)
Definition: pfs_host.h:93
ulonglong m_disconnected_count
Definition: pfs_host.h:127
const PFS_memory_shared_stat * read_instr_class_memory_stats() const
Definition: pfs_host.h:98
void reset_connections_stats()
Definition: pfs_host.h:117
int get_refcount()
Definition: pfs_host.h:68
std::atomic< int > m_refcount
Definition: pfs_host.h:132
ulonglong m_max_controlled_memory
Definition: pfs_host.h:128
Definition: pfs_stat.h:937
Definition: pfs_stat.h:883
Definition: pfs_stat.h:888
Instrumented thread implementation.
Definition: pfs_instr.h:375
A 'lock' protecting performance schema internal buffers.
Definition: pfs_lock.h:154
static void alive(server *s)
Definition: xcom_transport.cc:174