MySQL 5.6.14 Source Code Document
|
Macros | |
#define | WAIT_STACK_LOGICAL_SIZE 5 |
#define | WAIT_STACK_BOTTOM 1 |
#define | WAIT_STACK_SIZE (WAIT_STACK_BOTTOM + WAIT_STACK_LOGICAL_SIZE) |
#define | PFS_MAX_ALLOC_RETRY 1000 |
#define | PFS_MAX_SCAN_PASS 2 |
#define | REGISTER_CLASS_BODY_PART(INDEX, ARRAY, MAX, NAME, NAME_LENGTH) |
#define | FIND_CLASS_BODY(KEY, COUNT, ARRAY) |
#define | GLOBAL_TABLE_IO_EVENT_INDEX 0 |
#define | GLOBAL_TABLE_LOCK_EVENT_INDEX 1 |
#define | GLOBAL_IDLE_EVENT_INDEX 2 |
#define | PFS_LOCK_FREE 0x00 |
#define | PFS_LOCK_DIRTY 0x01 |
#define | PFS_LOCK_ALLOCATED 0x02 |
#define | VERSION_MASK 0xFFFFFFFC |
#define | STATE_MASK 0x00000003 |
#define | VERSION_INC 4 |
#define | COUNT_PFS_TL_LOCK_TYPE 11 |
Typedefs | |
typedef unsigned int | PFS_sync_key |
typedef unsigned int | PFS_thread_key |
typedef unsigned int | PFS_file_key |
typedef unsigned int | PFS_stage_key |
typedef unsigned int | PFS_statement_key |
typedef unsigned int | PFS_socket_key |
#define FIND_CLASS_BODY | ( | KEY, | |
COUNT, | |||
ARRAY | |||
) |
Definition at line 838 of file pfs_instr_class.cc.
#define PFS_LOCK_ALLOCATED 0x02 |
State of an allocated record. Values of an allocated record are safe to read by a reader. A writer may modify some but not all properties of the record: only modifying values that can never cause the reader to crash is allowed.
Definition at line 51 of file pfs_lock.h.
#define PFS_LOCK_DIRTY 0x01 |
State of a dirty record. Values of a dirty record should not be read by a reader, as the record is currently being modified. Only one writer, the writer which owns the record, should modify the record content.
Definition at line 44 of file pfs_lock.h.
#define PFS_LOCK_FREE 0x00 |
State of a free record. Values of a free record should not be read by a reader. Writers can concurrently attempt to allocate a free record.
Definition at line 36 of file pfs_lock.h.
#define PFS_MAX_ALLOC_RETRY 1000 |
Maximum number of times the code attempts to allocate an item from internal buffers, before giving up.
Definition at line 307 of file pfs_instr.h.
#define PFS_MAX_SCAN_PASS 2 |
#define REGISTER_CLASS_BODY_PART | ( | INDEX, | |
ARRAY, | |||
MAX, | |||
NAME, | |||
NAME_LENGTH | |||
) |
#define WAIT_STACK_BOTTOM 1 |
Maximum number dummy waits records. One dummy record is reserved for the parent stage / statement, at the bottom of the wait stack.
Definition at line 292 of file pfs_instr.h.
#define WAIT_STACK_LOGICAL_SIZE 5 |
Maximum number of nested waits. Some waits, such as:
Definition at line 285 of file pfs_instr.h.
#define WAIT_STACK_SIZE (WAIT_STACK_BOTTOM + WAIT_STACK_LOGICAL_SIZE) |
Physical size of the waits stack
Definition at line 297 of file pfs_instr.h.
typedef unsigned int PFS_file_key |
Key, naming a file instrument.
Definition at line 66 of file pfs_instr_class.h.
typedef unsigned int PFS_socket_key |
Key, naming a socket instrument.
Definition at line 72 of file pfs_instr_class.h.
typedef unsigned int PFS_stage_key |
Key, naming a stage instrument.
Definition at line 68 of file pfs_instr_class.h.
typedef unsigned int PFS_statement_key |
Key, naming a statement instrument.
Definition at line 70 of file pfs_instr_class.h.
typedef unsigned int PFS_sync_key |
Key, naming a synch instrument (mutex, rwlock, cond).
Definition at line 62 of file pfs_instr_class.h.
typedef unsigned int PFS_thread_key |
Key, naming a thread instrument.
Definition at line 64 of file pfs_instr_class.h.
|
static |
Allocate memory for stages statistics.
sizing | the number of stage classes. |
Definition at line 54 of file pfs_con_slice.cc.
|
static |
Allocate memory for statement statistics.
sizing | the number of statement classes. |
Definition at line 73 of file pfs_con_slice.cc.
|
static |
Allocate memory for waits statistics.
sizing | the number of wait classes. |
Definition at line 35 of file pfs_con_slice.cc.
void cleanup_account | ( | void | ) |
Cleanup all the user buffers.
Definition at line 116 of file pfs_account.cc.
void cleanup_account_hash | ( | void | ) |
Cleanup the user hash.
Definition at line 159 of file pfs_account.cc.
void cleanup_file_class | ( | void | ) |
Cleanup the file class buffers.
Definition at line 496 of file pfs_instr_class.cc.
void cleanup_file_hash | ( | void | ) |
Cleanup the file name hash.
Definition at line 537 of file pfs_instr.cc.
void cleanup_host | ( | void | ) |
Cleanup all the host buffers.
Definition at line 113 of file pfs_host.cc.
void cleanup_host_hash | ( | void | ) |
Cleanup the host hash.
Definition at line 160 of file pfs_host.cc.
void cleanup_instruments | ( | void | ) |
Cleanup all the instruments buffers.
Definition at line 458 of file pfs_instr.cc.
void cleanup_setup_actor | ( | void | ) |
Cleanup all the setup actor buffers.
Definition at line 73 of file pfs_setup_actor.cc.
void cleanup_setup_actor_hash | ( | void | ) |
Cleanup the setup actor hash.
Definition at line 114 of file pfs_setup_actor.cc.
void cleanup_setup_object | ( | void | ) |
Cleanup all the setup object buffers.
Definition at line 68 of file pfs_setup_object.cc.
void cleanup_setup_object_hash | ( | void | ) |
Cleanup the setup objects hash.
Definition at line 109 of file pfs_setup_object.cc.
void cleanup_socket_class | ( | void | ) |
Cleanup the socket class buffers.
Definition at line 598 of file pfs_instr_class.cc.
void cleanup_stage_class | ( | void | ) |
Cleanup the stage class buffers.
Definition at line 530 of file pfs_instr_class.cc.
void cleanup_statement_class | ( | void | ) |
Cleanup the statement class buffers.
Definition at line 564 of file pfs_instr_class.cc.
void cleanup_sync_class | ( | void | ) |
Cleanup the instrument synch class buffers.
Definition at line 284 of file pfs_instr_class.cc.
void cleanup_table_share | ( | void | ) |
Cleanup the table share buffers.
Definition at line 356 of file pfs_instr_class.cc.
void cleanup_table_share_hash | ( | void | ) |
Cleanup the table share hash table.
Definition at line 395 of file pfs_instr_class.cc.
void cleanup_thread_class | ( | void | ) |
Cleanup the thread class buffers.
Definition at line 323 of file pfs_instr_class.cc.
void cleanup_user | ( | void | ) |
Cleanup all the user buffers.
Definition at line 113 of file pfs_user.cc.
void cleanup_user_hash | ( | void | ) |
Cleanup the user hash.
Definition at line 160 of file pfs_user.cc.
PFS_cond * create_cond | ( | PFS_cond_class * | klass, |
const void * | identity | ||
) |
Create instrumentation for a condition instance.
klass | the condition class |
identity | the condition address |
Definition at line 786 of file pfs_instr.cc.
PFS_mutex * create_mutex | ( | PFS_mutex_class * | klass, |
const void * | identity | ||
) |
Create instrumentation for a mutex instance.
klass | the mutex class |
identity | the mutex address |
Definition at line 621 of file pfs_instr.cc.
PFS_rwlock * create_rwlock | ( | PFS_rwlock_class * | klass, |
const void * | identity | ||
) |
Create instrumentation for a rwlock instance.
klass | the rwlock class |
identity | the rwlock address |
Definition at line 718 of file pfs_instr.cc.
PFS_socket * create_socket | ( | PFS_socket_class * | klass, |
const my_socket * | fd, | ||
const struct sockaddr * | addr, | ||
socklen_t | addr_len | ||
) |
Create instrumentation for a socket instance.
klass | the socket class |
identity | the socket descriptor |
Definition at line 1535 of file pfs_instr.cc.
PFS_table * create_table | ( | PFS_table_share * | share, |
PFS_thread * | opening_thread, | ||
const void * | identity | ||
) |
Create instrumentation for a table instance.
share | the table share |
opening_thread | the opening thread |
identity | the table address |
Definition at line 1384 of file pfs_instr.cc.
PFS_thread * create_thread | ( | PFS_thread_class * | klass, |
const void * | identity, | ||
ulonglong | processlist_id | ||
) |
Create instrumentation for a thread instance.
klass | the thread class |
identity | the thread address, or a value characteristic of this thread |
processlist_id | the PROCESSLIST id, or 0 if unknown |
Definition at line 874 of file pfs_instr.cc.
void destroy_cond | ( | PFS_cond * | pfs | ) |
Destroy instrumentation for a condition instance.
pfs | the condition to destroy |
Definition at line 833 of file pfs_instr.cc.
void destroy_file | ( | PFS_thread * | thread, |
PFS_file * | pfs | ||
) |
Destroy instrumentation for a file instance.
thread | the executing thread instrumentation |
pfs | the file to destroy |
Definition at line 1353 of file pfs_instr.cc.
void destroy_mutex | ( | PFS_mutex * | pfs | ) |
Destroy instrumentation for a mutex instance.
pfs | the mutex to destroy |
Definition at line 699 of file pfs_instr.cc.
void destroy_rwlock | ( | PFS_rwlock * | pfs | ) |
Destroy instrumentation for a rwlock instance.
pfs | the rwlock to destroy |
Definition at line 767 of file pfs_instr.cc.
void destroy_socket | ( | PFS_socket * | pfs | ) |
Destroy instrumentation for a socket instance.
pfs | the socket to destroy |
Definition at line 1606 of file pfs_instr.cc.
void destroy_table | ( | PFS_table * | pfs | ) |
Destroy instrumentation for a table instance.
pfs | the table to destroy |
Definition at line 1521 of file pfs_instr.cc.
void destroy_thread | ( | PFS_thread * | pfs | ) |
Destroy instrumentation for a thread instance.
pfs | the thread to destroy |
Definition at line 1059 of file pfs_instr.cc.
void drop_table_share | ( | PFS_thread * | thread, |
bool | temporary, | ||
const char * | schema_name, | ||
uint | schema_name_length, | ||
const char * | table_name, | ||
uint | table_name_length | ||
) |
Drop the instrumented table share associated with a table.
thread | The running thread |
temporary | True for TEMPORARY TABLE |
schema_name | The table schema name |
schema_name_length | The table schema name length |
table_name | The table name |
table_name_length | The table name length |
Definition at line 1400 of file pfs_instr_class.cc.
PFS_cond_class* find_cond_class | ( | PFS_sync_key | key | ) |
Find a condition instrumentation class by key.
key | the instrument key |
Definition at line 878 of file pfs_instr_class.cc.
PFS_file_class* find_file_class | ( | PFS_file_key | key | ) |
Find a file instrumentation class by key.
key | the instrument key |
Definition at line 1063 of file pfs_instr_class.cc.
PFS_mutex_class* find_mutex_class | ( | PFS_sync_key | key | ) |
Find a mutex instrumentation class by key.
key | the instrument key |
Definition at line 848 of file pfs_instr_class.cc.
PFS_file * find_or_create_file | ( | PFS_thread * | thread, |
PFS_file_class * | klass, | ||
const char * | filename, | ||
uint | len, | ||
bool | create | ||
) |
Find or create instrumentation for a file instance by file name.
thread | the executing instrumented thread |
klass | the file class |
filename | the file name |
len | the length in bytes of filename |
create | create a file instance if none found |
Definition at line 1153 of file pfs_instr.cc.
PFS_table_share * find_or_create_table_share | ( | PFS_thread * | thread, |
bool | temporary, | ||
const TABLE_SHARE * | share | ||
) |
Find or create a table share instrumentation.
thread | the executing instrumented thread |
temporary | true for TEMPORARY TABLE |
share | table share |
Definition at line 1236 of file pfs_instr_class.cc.
PFS_rwlock_class* find_rwlock_class | ( | PFS_sync_key | key | ) |
Find a rwlock instrumentation class by key.
key | the instrument key |
Definition at line 863 of file pfs_instr_class.cc.
PFS_socket_class* find_socket_class | ( | PFS_socket_key | key | ) |
Find a socket instrumentation class by key.
key | the instrument key |
Definition at line 1145 of file pfs_instr_class.cc.
PFS_stage_class* find_stage_class | ( | PFS_stage_key | key | ) |
Find a stage instrumentation class by key.
key | the instrument key |
Definition at line 1078 of file pfs_instr_class.cc.
PFS_statement_class* find_statement_class | ( | PFS_stage_key | key | ) |
Find a statement instrumentation class by key.
key | the instrument key |
Definition at line 1093 of file pfs_instr_class.cc.
PFS_thread_class* find_thread_class | ( | PFS_sync_key | key | ) |
Find a thread instrumentation class by key.
key | the instrument key |
Definition at line 933 of file pfs_instr_class.cc.
LF_PINS* get_filename_hash_pins | ( | PFS_thread * | thread | ) |
Get the hash pins for .
thread | The running thread. |
Definition at line 1132 of file pfs_instr.cc.
LF_PINS* get_table_share_hash_pins | ( | PFS_thread * | thread | ) |
Get the hash pins for
thread | The running thread. |
Definition at line 409 of file pfs_instr_class.cc.
void PFS_scan::init | ( | uint | random, |
uint | max_size | ||
) |
Initialize a new scan.
random | a random index to start from |
max_size | the max size of the interval to scan |
Definition at line 546 of file pfs_instr.cc.
int init_account | ( | const PFS_global_param * | param | ) |
Initialize the user buffers.
param | sizing parameters |
Definition at line 56 of file pfs_account.cc.
int init_account_hash | ( | void | ) |
Initialize the user hash.
Definition at line 146 of file pfs_account.cc.
int init_file_class | ( | uint | file_class_sizing | ) |
Initialize the file class buffer.
file_class_sizing | max number of file class |
Definition at line 475 of file pfs_instr_class.cc.
int init_file_hash | ( | void | ) |
Initialize the file name hash.
Definition at line 524 of file pfs_instr.cc.
int init_host | ( | const PFS_global_param * | param | ) |
Initialize the host buffers.
param | sizing parameters |
Definition at line 53 of file pfs_host.cc.
int init_host_hash | ( | void | ) |
Initialize the host hash.
Definition at line 147 of file pfs_host.cc.
int init_instruments | ( | const PFS_global_param * | param | ) |
Initialize all the instruments instance buffers.
param | sizing parameters |
Definition at line 191 of file pfs_instr.cc.
int init_setup_actor | ( | const PFS_global_param * | param | ) |
Initialize the setup actor buffers.
param | sizing parameters |
Definition at line 55 of file pfs_setup_actor.cc.
int init_setup_actor_hash | ( | void | ) |
Initialize the setup actor hash.
Definition at line 101 of file pfs_setup_actor.cc.
int init_setup_object | ( | const PFS_global_param * | param | ) |
Initialize the setup object buffers.
param | sizing parameters |
Definition at line 50 of file pfs_setup_object.cc.
int init_setup_object_hash | ( | void | ) |
Initialize the setup objects hash.
Definition at line 96 of file pfs_setup_object.cc.
int init_socket_class | ( | uint | socket_class_sizing | ) |
Initialize the socket class buffer.
socket_class_sizing | max number of socket class |
Definition at line 577 of file pfs_instr_class.cc.
int init_stage_class | ( | uint | stage_class_sizing | ) |
Initialize the stage class buffer.
stage_class_sizing | max number of stage class |
Definition at line 509 of file pfs_instr_class.cc.
int init_statement_class | ( | uint | statement_class_sizing | ) |
Initialize the statement class buffer.
statement_class_sizing | max number of statement class |
Definition at line 543 of file pfs_instr_class.cc.
int init_sync_class | ( | uint | mutex_class_sizing, |
uint | rwlock_class_sizing, | ||
uint | cond_class_sizing | ||
) |
Initialize the instrument synch class buffers.
mutex_class_sizing | max number of mutex class |
rwlock_class_sizing | max number of rwlock class |
cond_class_sizing | max number of condition class |
Definition at line 240 of file pfs_instr_class.cc.
int init_table_share | ( | uint | table_share_sizing | ) |
Initialize the table share buffer.
table_share_sizing | max number of table share |
Definition at line 336 of file pfs_instr_class.cc.
int init_table_share_hash | ( | void | ) |
Initialize the table share hash table.
Definition at line 382 of file pfs_instr_class.cc.
int init_thread_class | ( | uint | thread_class_sizing | ) |
Initialize the thread class buffer.
thread_class_sizing | max number of thread class |
Definition at line 302 of file pfs_instr_class.cc.
int init_user | ( | const PFS_global_param * | param | ) |
Initialize the user buffers.
param | sizing parameters |
Definition at line 53 of file pfs_user.cc.
int init_user_hash | ( | void | ) |
Initialize the user hash.
Definition at line 147 of file pfs_user.cc.
PFS_connection_all_statement_visitor::PFS_connection_all_statement_visitor | ( | ) |
PFS_connection_all_wait_visitor::PFS_connection_all_wait_visitor | ( | ) |
Constructor.
Definition at line 693 of file pfs_visitor.cc.
PFS_connection_stage_visitor::PFS_connection_stage_visitor | ( | PFS_stage_class * | klass | ) |
Constructor.
Definition at line 735 of file pfs_visitor.cc.
PFS_connection_stat_visitor::PFS_connection_stat_visitor | ( | ) |
Constructor.
Definition at line 850 of file pfs_visitor.cc.
PFS_connection_statement_visitor::PFS_connection_statement_visitor | ( | PFS_statement_class * | klass | ) |
Constructor.
Definition at line 769 of file pfs_visitor.cc.
PFS_connection_wait_visitor::PFS_connection_wait_visitor | ( | PFS_instr_class * | klass | ) |
PFS_index_io_stat_visitor::PFS_index_io_stat_visitor | ( | ) |
Index IO stat visitor
Definition at line 1061 of file pfs_visitor.cc.
PFS_object_wait_visitor::PFS_object_wait_visitor | ( | ) |
Table IO wait visitor
Definition at line 944 of file pfs_visitor.cc.
PFS_table_io_stat_visitor::PFS_table_io_stat_visitor | ( | ) |
Table IO stat visitor
Definition at line 1022 of file pfs_visitor.cc.
PFS_table_lock_stat_visitor::PFS_table_lock_stat_visitor | ( | ) |
Table lock stat visitor
Definition at line 1102 of file pfs_visitor.cc.
PFS_table_lock_wait_visitor::PFS_table_lock_wait_visitor | ( | ) |
Table lock wait visitor
Definition at line 1079 of file pfs_visitor.cc.
void purge_all_account | ( | void | ) |
Purge non connected user, reset stats of connected user.
Definition at line 556 of file pfs_account.cc.
void purge_all_host | ( | void | ) |
Purge non connected hosts, reset stats of connected hosts.
Definition at line 371 of file pfs_host.cc.
void purge_all_user | ( | void | ) |
Purge non connected users, reset stats of connected users.
Definition at line 364 of file pfs_user.cc.
PFS_sync_key register_cond_class | ( | const char * | name, |
uint | name_length, | ||
int | flags | ||
) |
Register a condition instrumentation metadata.
name | the instrumented name |
name_length | length in bytes of name |
flags | the instrumentation flags |
Definition at line 808 of file pfs_instr_class.cc.
PFS_file_key register_file_class | ( | const char * | name, |
uint | name_length, | ||
int | flags | ||
) |
Register a file instrumentation metadata.
name | the instrumented name |
name_length | length in bytes of name |
flags | the instrumentation flags |
Definition at line 950 of file pfs_instr_class.cc.
PFS_sync_key register_mutex_class | ( | const char * | name, |
uint | name_length, | ||
int | flags | ||
) |
Register a mutex instrumentation metadata.
name | the instrumented name |
name_length | length in bytes of name |
flags | the instrumentation flags |
Definition at line 677 of file pfs_instr_class.cc.
PFS_sync_key register_rwlock_class | ( | const char * | name, |
uint | name_length, | ||
int | flags | ||
) |
Register a rwlock instrumentation metadata.
name | the instrumented name |
name_length | length in bytes of name |
flags | the instrumentation flags |
Definition at line 770 of file pfs_instr_class.cc.
PFS_socket_key register_socket_class | ( | const char * | name, |
uint | name_length, | ||
int | flags | ||
) |
Register a socket instrumentation metadata.
name | the instrumented name |
name_length | length in bytes of name |
flags | the instrumentation flags |
Definition at line 1110 of file pfs_instr_class.cc.
PFS_stage_key register_stage_class | ( | const char * | name, |
uint | prefix_length, | ||
uint | name_length, | ||
int | flags | ||
) |
Register a stage instrumentation metadata.
name | the instrumented name |
prefix_length | length in bytes of the name prefix |
name_length | length in bytes of name |
flags | the instrumentation flags |
Definition at line 988 of file pfs_instr_class.cc.
PFS_statement_key register_statement_class | ( | const char * | name, |
uint | name_length, | ||
int | flags | ||
) |
Register a statement instrumentation metadata.
name | the instrumented name |
name_length | length in bytes of name |
flags | the instrumentation flags |
Definition at line 1028 of file pfs_instr_class.cc.
PFS_thread_key register_thread_class | ( | const char * | name, |
uint | name_length, | ||
int | flags | ||
) |
Register a thread instrumentation metadata.
name | the instrumented name |
name_length | length in bytes of name |
flags | the instrumentation flags |
Definition at line 895 of file pfs_instr_class.cc.
void release_file | ( | PFS_file * | pfs | ) |
Release instrumentation for a file instance.
pfs | the file to release |
Definition at line 1342 of file pfs_instr.cc.
void reset_events_waits_by_class | ( | ) |
Reset the wait statistics per instrument class.
Definition at line 1437 of file pfs_instr_class.cc.
void reset_events_waits_by_instance | ( | void | ) |
Reset the wait statistics per object instance.
Definition at line 1685 of file pfs_instr.cc.
void reset_file_class_io | ( | void | ) |
Reset the io statistics per file class.
Definition at line 1447 of file pfs_instr_class.cc.
void reset_file_instance_io | ( | void | ) |
Reset the io statistics per file instance.
Definition at line 1695 of file pfs_instr.cc.
void PFS_thread::reset_session_connect_attrs | ( | ) |
Reset session connect attributes
Definition at line 852 of file pfs_instr.cc.
void reset_socket_class_io | ( | void | ) |
Reset the io statistics per socket class.
Definition at line 1457 of file pfs_instr_class.cc.
void reset_socket_instance_io | ( | void | ) |
Reset the io statistics per socket instance.
Definition at line 1705 of file pfs_instr.cc.
void PFS_connection_slice::reset_stages_stats | ( | ) |
Reset all stages statistics.
Definition at line 99 of file pfs_con_slice.cc.
void PFS_connection_slice::reset_statements_stats | ( | ) |
Reset all statements statistics.
Definition at line 107 of file pfs_con_slice.cc.
void PFS_connection_slice::reset_waits_stats | ( | ) |
Reset all wait statistics.
Definition at line 91 of file pfs_con_slice.cc.
PFS_table_share * sanitize_table_share | ( | PFS_table_share * | unsafe | ) |
Sanitize an unsafe table_share pointer.
unsafe | The possibly corrupt pointer. |
Definition at line 1431 of file pfs_instr_class.cc.
PFS_thread * sanitize_thread | ( | PFS_thread * | unsafe | ) |
Sanitize a PFS_thread pointer. Validate that the PFS_thread is part of thread_array. Sanitizing data is required when the data can be damaged with expected race conditions, for example involving EVENTS_WAITS_HISTORY_LONG.
unsafe | the pointer to sanitize |
Definition at line 1040 of file pfs_instr.cc.
void PFS_table::sanitized_aggregate | ( | void | ) |
Aggregate this table handle statistics to the parents. This method is safe to call on handles not owned by the calling code.
Definition at line 1432 of file pfs_instr.cc.
void PFS_table::sanitized_aggregate_io | ( | void | ) |
Aggregate this table handle io statistics to the parents. This method is safe to call on handles not owned by the calling code.
Definition at line 1460 of file pfs_instr.cc.
void PFS_table::sanitized_aggregate_lock | ( | void | ) |
Aggregate this table handle lock statistics to the parents. This method is safe to call on handles not owned by the calling code.
Definition at line 1470 of file pfs_instr.cc.
void update_cond_derived_flags | ( | ) |
Update derived flags for all condition instances.
Definition at line 2157 of file pfs_instr.cc.
void update_file_derived_flags | ( | ) |
Update derived flags for all file handles.
Definition at line 2179 of file pfs_instr.cc.
void update_instruments_derived_flags | ( | ) |
Update derived flags for all instruments.
Definition at line 2251 of file pfs_instr.cc.
void update_mutex_derived_flags | ( | ) |
Update derived flags for all mutex instances.
Definition at line 2113 of file pfs_instr.cc.
void update_rwlock_derived_flags | ( | ) |
Update derived flags for all rwlock instances.
Definition at line 2135 of file pfs_instr.cc.
void update_socket_derived_flags | ( | ) |
Update derived flags for all socket instances.
Definition at line 2229 of file pfs_instr.cc.
void update_table_derived_flags | ( | ) |
Update derived flags for all table handles.
Definition at line 2201 of file pfs_instr.cc.
void update_table_share_derived_flags | ( | PFS_thread * | thread | ) |
Update derived flags for all table shares.
Definition at line 1466 of file pfs_instr_class.cc.
|
static |
Visit all connections of a user+host.
account | the user+host to visit. |
with_threads | when true, visit also all related threads. |
visitor | the visitor to call |
Definition at line 191 of file pfs_visitor.cc.
|
virtual |
Visit all connections of a user+host.
Reimplemented from PFS_connection_visitor.
Definition at line 682 of file pfs_visitor.cc.
|
virtual |
Visit all connections of a user+host.
Reimplemented from PFS_connection_visitor.
Definition at line 725 of file pfs_visitor.cc.
|
virtual |
Visit all connections of a user+host.
Reimplemented from PFS_connection_visitor.
Definition at line 758 of file pfs_visitor.cc.
|
virtual |
Visit all connections of a user+host.
Reimplemented from PFS_connection_visitor.
Definition at line 792 of file pfs_visitor.cc.
|
virtual |
Visit all connections of a user+host.
Reimplemented from PFS_connection_visitor.
Definition at line 840 of file pfs_visitor.cc.
|
virtual |
Visit all connections of a user+host.
Reimplemented from PFS_connection_visitor.
Definition at line 869 of file pfs_visitor.cc.
|
static |
Visit all objects.
Object iterator
Definition at line 577 of file pfs_visitor.cc.
|
static |
Visit all tables and related handles.
Definition at line 582 of file pfs_visitor.cc.
|
virtual |
Visit a cond instance.
Reimplemented from PFS_instance_visitor.
Definition at line 921 of file pfs_visitor.cc.
|
virtual |
Visit a cond class.
Reimplemented from PFS_instance_visitor.
Definition at line 896 of file pfs_visitor.cc.
|
static |
Visit a cond class and related instances.
klass | the klass to visit. |
visitor | the visitor to call |
Definition at line 415 of file pfs_visitor.cc.
|
virtual |
Visit a file instance.
Reimplemented from PFS_instance_visitor.
Definition at line 926 of file pfs_visitor.cc.
|
virtual |
Visit a file instance.
Reimplemented from PFS_instance_visitor.
Definition at line 1149 of file pfs_visitor.cc.
|
virtual |
Visit a file class.
Reimplemented from PFS_instance_visitor.
Definition at line 901 of file pfs_visitor.cc.
|
virtual |
Visit a file class.
Reimplemented from PFS_instance_visitor.
Definition at line 1143 of file pfs_visitor.cc.
|
static |
Visit a file class and related instances.
klass | the klass to visit. |
visitor | the visitor to call |
Definition at line 447 of file pfs_visitor.cc.
|
static |
Visit all connections.
with_hosts | when true, visit also all hosts. |
with_users | when true, visit also all users. |
with_accounts | when true, visit also all user+host. |
with_threads | when true, visit also all threads. |
visitor | the visitor to call |
Connection iterator
Definition at line 36 of file pfs_visitor.cc.
|
virtual |
Visit all connections.
Reimplemented from PFS_connection_visitor.
Definition at line 661 of file pfs_visitor.cc.
|
virtual |
Visit all connections.
Reimplemented from PFS_connection_visitor.
Definition at line 699 of file pfs_visitor.cc.
|
virtual |
Visit all connections.
Reimplemented from PFS_connection_visitor.
Definition at line 743 of file pfs_visitor.cc.
|
virtual |
Visit all connections.
Reimplemented from PFS_connection_visitor.
Definition at line 777 of file pfs_visitor.cc.
|
virtual |
Visit all connections.
Reimplemented from PFS_connection_visitor.
Definition at line 810 of file pfs_visitor.cc.
|
virtual |
Visit all connections.
Reimplemented from PFS_connection_visitor.
Definition at line 856 of file pfs_visitor.cc.
|
virtual |
Visit global data.
Reimplemented from PFS_object_visitor.
Definition at line 950 of file pfs_visitor.cc.
|
virtual |
Visit global data.
Reimplemented from PFS_object_visitor.
Definition at line 978 of file pfs_visitor.cc.
|
virtual |
Visit global data.
Reimplemented from PFS_object_visitor.
Definition at line 1085 of file pfs_visitor.cc.
|
static |
Visit all connections of a host.
host | the host to visit. |
with_accounts | when true, visit also all related user+host. |
with_threads | when true, visit also all related threads. |
visitor | the visitor to call |
Definition at line 89 of file pfs_visitor.cc.
|
virtual |
Visit all connections of a host.
Reimplemented from PFS_connection_visitor.
Definition at line 672 of file pfs_visitor.cc.
|
virtual |
Visit all connections of a host.
Reimplemented from PFS_connection_visitor.
Definition at line 715 of file pfs_visitor.cc.
|
virtual |
Visit all connections of a host.
Reimplemented from PFS_connection_visitor.
Definition at line 748 of file pfs_visitor.cc.
|
virtual |
Visit all connections of a host.
Reimplemented from PFS_connection_visitor.
Definition at line 782 of file pfs_visitor.cc.
|
virtual |
Visit all connections of a host.
Reimplemented from PFS_connection_visitor.
Definition at line 830 of file pfs_visitor.cc.
|
virtual |
Visit all connections of a host.
Reimplemented from PFS_connection_visitor.
Definition at line 859 of file pfs_visitor.cc.
|
static |
Visit an instrument class and related instances.
klass | the klass to visit. |
visitor | the visitor to call |
thread | comparison criteria |
visit_class | if true then visit the class |
Generic instance iterator with PFS_thread as matching criteria
Definition at line 554 of file pfs_visitor.cc.
|
virtual |
Visit a mutex instance.
Reimplemented from PFS_instance_visitor.
Definition at line 911 of file pfs_visitor.cc.
|
virtual |
Visit a mutex class.
Reimplemented from PFS_instance_visitor.
Definition at line 886 of file pfs_visitor.cc.
|
static |
Visit a mutex class and related instances.
klass | the klass to visit. |
visitor | the visitor to call |
Instance iterator
Definition at line 351 of file pfs_visitor.cc.
|
virtual |
Visit a rwlock instance.
Reimplemented from PFS_instance_visitor.
Definition at line 916 of file pfs_visitor.cc.
|
virtual |
Visit a rwlock class.
Reimplemented from PFS_instance_visitor.
Definition at line 891 of file pfs_visitor.cc.
|
static |
Visit a rwlock class and related instances.
klass | the klass to visit. |
visitor | the visitor to call |
Definition at line 383 of file pfs_visitor.cc.
|
virtual |
Visit a socket instance.
Reimplemented from PFS_instance_visitor.
Definition at line 934 of file pfs_visitor.cc.
|
virtual |
Visit a socket instance.
Reimplemented from PFS_instance_visitor.
Definition at line 1130 of file pfs_visitor.cc.
|
virtual |
Visit a socket class.
Reimplemented from PFS_instance_visitor.
Definition at line 906 of file pfs_visitor.cc.
|
virtual |
Visit a socket class.
Reimplemented from PFS_instance_visitor.
Definition at line 1124 of file pfs_visitor.cc.
|
static |
Visit a socket class and related instances.
klass | the klass to visit. |
visitor | the visitor to call |
Socket instance iterator visting a socket class and all instances
Definition at line 481 of file pfs_visitor.cc.
|
static |
Visit a socket class and related instances.
klass | the klass to visit. |
visitor | the visitor to call |
thread | the owning thread to match |
visit_class | if true then visit the socket class |
Socket instance iterator visting sockets owned by PFS_thread.
Definition at line 515 of file pfs_visitor.cc.
|
virtual |
Visit a table.
Reimplemented from PFS_object_visitor.
Definition at line 962 of file pfs_visitor.cc.
|
virtual |
Visit a table.
Reimplemented from PFS_object_visitor.
Definition at line 999 of file pfs_visitor.cc.
|
virtual |
Visit a table.
Reimplemented from PFS_object_visitor.
Definition at line 1041 of file pfs_visitor.cc.
|
virtual |
Visit a table.
Reimplemented from PFS_object_visitor.
Definition at line 1095 of file pfs_visitor.cc.
|
virtual |
Visit a table.
Reimplemented from PFS_object_visitor.
Definition at line 1113 of file pfs_visitor.cc.
|
virtual |
Visit a table index.
Reimplemented from PFS_object_visitor.
Definition at line 1072 of file pfs_visitor.cc.
|
static |
Visit a table index and related table handles indexes.
Definition at line 630 of file pfs_visitor.cc.
|
virtual |
Visit a table share.
Reimplemented from PFS_object_visitor.
Definition at line 956 of file pfs_visitor.cc.
|
virtual |
Visit a table share.
Reimplemented from PFS_object_visitor.
Definition at line 983 of file pfs_visitor.cc.
|
virtual |
Visit a table share.
Reimplemented from PFS_object_visitor.
Definition at line 1028 of file pfs_visitor.cc.
|
virtual |
Visit a table share.
Reimplemented from PFS_object_visitor.
Definition at line 1090 of file pfs_visitor.cc.
|
virtual |
Visit a table share.
Reimplemented from PFS_object_visitor.
Definition at line 1108 of file pfs_visitor.cc.
|
virtual |
Visit a table share index.
Reimplemented from PFS_object_visitor.
Definition at line 1067 of file pfs_visitor.cc.
|
static |
Visit a table and related table handles.
Definition at line 611 of file pfs_visitor.cc.
|
virtual |
Visit a thread.
Reimplemented from PFS_connection_visitor.
Definition at line 687 of file pfs_visitor.cc.
|
virtual |
Visit a thread.
Reimplemented from PFS_connection_visitor.
Definition at line 730 of file pfs_visitor.cc.
|
virtual |
Visit a thread.
Reimplemented from PFS_connection_visitor.
Definition at line 763 of file pfs_visitor.cc.
|
virtual |
Visit a thread.
Reimplemented from PFS_connection_visitor.
Definition at line 797 of file pfs_visitor.cc.
|
virtual |
Visit a thread.
Reimplemented from PFS_connection_visitor.
Definition at line 845 of file pfs_visitor.cc.
|
virtual |
Visit a thread.
Reimplemented from PFS_connection_visitor.
Definition at line 874 of file pfs_visitor.cc.
|
static |
Visit all connections of a user.
user | the user to visit. |
with_accounts | when true, visit also all related user+host. |
with_threads | when true, visit also all related threads. |
visitor | the visitor to call |
Definition at line 140 of file pfs_visitor.cc.
|
virtual |
Visit all connections of a user.
Reimplemented from PFS_connection_visitor.
Definition at line 677 of file pfs_visitor.cc.
|
virtual |
Visit all connections of a user.
Reimplemented from PFS_connection_visitor.
Definition at line 720 of file pfs_visitor.cc.
|
virtual |
Visit all connections of a user.
Reimplemented from PFS_connection_visitor.
Definition at line 753 of file pfs_visitor.cc.
|
virtual |
Visit all connections of a user.
Reimplemented from PFS_connection_visitor.
Definition at line 787 of file pfs_visitor.cc.
|
virtual |
Visit all connections of a user.
Reimplemented from PFS_connection_visitor.
Definition at line 835 of file pfs_visitor.cc.
|
virtual |
Visit all connections of a user.
Reimplemented from PFS_connection_visitor.
Definition at line 864 of file pfs_visitor.cc.
enum_timer_name* class_timers[] |
Class-timer map
Definition at line 146 of file pfs_instr_class.cc.
enum_timer_name* class_timers[] |
PFS_cond* cond_array = NULL |
Condition instrumentation instances array.
Definition at line 125 of file pfs_instr.cc.
PFS_cond* cond_array |
Condition instrumentation instances array.
Definition at line 125 of file pfs_instr.cc.
ulong cond_class_lost = 0 |
Number of condition class lost.
Definition at line 89 of file pfs_instr_class.cc.
ulong cond_class_lost |
Number of condition class lost.
Definition at line 89 of file pfs_instr_class.cc.
ulong cond_class_max = 0 |
Size of the condition class array.
Definition at line 87 of file pfs_instr_class.cc.
ulong cond_class_max |
Size of the condition class array.
Definition at line 87 of file pfs_instr_class.cc.
bool cond_full |
True when cond_array
is full.
Definition at line 54 of file pfs_instr.cc.
ulong cond_lost |
ulong cond_lost |
ulong cond_max |
Size of the conditions instances array.
Definition at line 52 of file pfs_instr.cc.
ulong cond_max |
Size of the conditions instances array.
Definition at line 52 of file pfs_instr.cc.
ulong events_stages_history_per_thread |
Number of EVENTS_STAGES_HISTORY records per thread.
Definition at line 93 of file pfs_instr.cc.
ulong events_stages_history_per_thread |
Number of EVENTS_STAGES_HISTORY records per thread.
Definition at line 93 of file pfs_instr.cc.
ulong events_statements_history_per_thread |
Number of EVENTS_STATEMENTS_HISTORY records per thread.
Definition at line 95 of file pfs_instr.cc.
ulong events_statements_history_per_thread |
Number of EVENTS_STATEMENTS_HISTORY records per thread.
Definition at line 95 of file pfs_instr.cc.
ulong events_waits_history_per_thread |
Number of EVENTS_WAITS_HISTORY records per thread.
Definition at line 91 of file pfs_instr.cc.
ulong events_waits_history_per_thread |
Number of EVENTS_WAITS_HISTORY records per thread.
Definition at line 91 of file pfs_instr.cc.
PFS_file* file_array = NULL |
File instrumentation instances array.
Definition at line 140 of file pfs_instr.cc.
PFS_file* file_array |
File instrumentation instances array.
Definition at line 140 of file pfs_instr.cc.
ulong file_class_lost = 0 |
Number of file class lost.
Definition at line 97 of file pfs_instr_class.cc.
ulong file_class_lost |
Number of file class lost.
Definition at line 97 of file pfs_instr_class.cc.
ulong file_class_max = 0 |
Size of the file class array.
Definition at line 95 of file pfs_instr_class.cc.
ulong file_class_max |
Size of the file class array.
Definition at line 95 of file pfs_instr_class.cc.
bool file_full |
True when file_array
is full.
Definition at line 66 of file pfs_instr.cc.
PFS_file** file_handle_array = NULL |
File instrumentation handle array.
Definition at line 147 of file pfs_instr.cc.
PFS_file** file_handle_array |
File instrumentation handle array.
Definition at line 147 of file pfs_instr.cc.
bool file_handle_full |
True when file_handle_array
is full.
Definition at line 75 of file pfs_instr.cc.
ulong file_handle_lost |
ulong file_handle_lost |
long file_handle_max |
Size of the file handle array.
Definition at line 73 of file pfs_instr.cc.
long file_handle_max |
Size of the file handle array.
Definition at line 73 of file pfs_instr.cc.
ulong file_lost |
ulong file_lost |
ulong file_max |
ulong file_max |
LF_HASH filename_hash |
Hash table for instrumented files.
Definition at line 182 of file pfs_instr.cc.
LF_HASH filename_hash |
Hash table for instrumented files.
Definition at line 182 of file pfs_instr.cc.
PFS_ALIGNED PFS_instr_class global_idle_class |
Instrument controlling all idle waits.
Definition at line 143 of file pfs_instr_class.cc.
PFS_instr_class global_idle_class |
Instrument controlling all idle waits.
Definition at line 143 of file pfs_instr_class.cc.
PFS_ALIGNED PFS_single_stat global_idle_stat |
Statistics for the IDLE instrument.
Definition at line 138 of file pfs_instr_class.cc.
PFS_single_stat global_idle_stat |
Statistics for the IDLE instrument.
Definition at line 138 of file pfs_instr_class.cc.
PFS_ALIGNED PFS_instr_class global_table_io_class |
Instrument controlling all table io. This instrument is used with table SETUP_OBJECTS.
Definition at line 141 of file pfs_instr_class.cc.
PFS_instr_class global_table_io_class |
Instrument controlling all table io. This instrument is used with table SETUP_OBJECTS.
Definition at line 141 of file pfs_instr_class.cc.
PFS_ALIGNED PFS_table_io_stat global_table_io_stat |
Statistics for dropped table io.
Definition at line 139 of file pfs_instr_class.cc.
PFS_table_io_stat global_table_io_stat |
Statistics for dropped table io.
Definition at line 139 of file pfs_instr_class.cc.
PFS_ALIGNED PFS_instr_class global_table_lock_class |
Instrument controlling all table lock. This instrument is used with table SETUP_OBJECTS.
Definition at line 142 of file pfs_instr_class.cc.
PFS_instr_class global_table_lock_class |
Instrument controlling all table lock. This instrument is used with table SETUP_OBJECTS.
Definition at line 142 of file pfs_instr_class.cc.
PFS_ALIGNED PFS_table_lock_stat global_table_lock_stat |
Statistics for dropped table lock.
Definition at line 140 of file pfs_instr_class.cc.
PFS_table_lock_stat global_table_lock_stat |
Statistics for dropped table lock.
Definition at line 140 of file pfs_instr_class.cc.
ulong locker_lost = 0 |
ulong locker_lost |
PFS_mutex* mutex_array = NULL |
Mutex instrumentation instances array.
Definition at line 111 of file pfs_instr.cc.
PFS_mutex* mutex_array |
Mutex instrumentation instances array.
Definition at line 111 of file pfs_instr.cc.
ulong mutex_class_lost = 0 |
Number of mutex class lost.
Definition at line 81 of file pfs_instr_class.cc.
ulong mutex_class_lost |
Number of mutex class lost.
Definition at line 81 of file pfs_instr_class.cc.
ulong mutex_class_max = 0 |
Size of the mutex class array.
Definition at line 79 of file pfs_instr_class.cc.
ulong mutex_class_max |
Size of the mutex class array.
Definition at line 79 of file pfs_instr_class.cc.
bool mutex_full |
True when mutex_array
is full.
Definition at line 42 of file pfs_instr.cc.
ulong mutex_lost |
ulong mutex_lost |
ulong mutex_max |
ulong mutex_max |
my_bool pfs_enabled = TRUE |
Global performance schema flag. Indicate if the performance schema is enabled. This flag is set at startup, and never changes.
Definition at line 48 of file pfs_instr_class.cc.
my_bool pfs_enabled |
Global performance schema flag. Indicate if the performance schema is enabled. This flag is set at startup, and never changes.
Definition at line 48 of file pfs_instr_class.cc.
DYNAMIC_ARRAY pfs_instr_config_array |
PFS_INSTRUMENT option settings array and associated state variable to serialize access during shutdown.
Definition at line 54 of file pfs_instr_class.cc.
DYNAMIC_ARRAY pfs_instr_config_array |
PFS_INSTRUMENT option settings array and associated state variable to serialize access during shutdown.
Definition at line 54 of file pfs_instr_class.cc.
PFS_rwlock* rwlock_array = NULL |
RWLock instrumentation instances array.
Definition at line 118 of file pfs_instr.cc.
PFS_rwlock* rwlock_array |
RWLock instrumentation instances array.
Definition at line 118 of file pfs_instr.cc.
ulong rwlock_class_lost = 0 |
Number of rwlock class lost.
Definition at line 85 of file pfs_instr_class.cc.
ulong rwlock_class_lost |
Number of rwlock class lost.
Definition at line 85 of file pfs_instr_class.cc.
ulong rwlock_class_max = 0 |
Size of the rwlock class array.
Definition at line 83 of file pfs_instr_class.cc.
ulong rwlock_class_max |
Size of the rwlock class array.
Definition at line 83 of file pfs_instr_class.cc.
bool rwlock_full |
True when rwlock_array
is full.
Definition at line 48 of file pfs_instr.cc.
ulong rwlock_lost |
ulong rwlock_lost |
ulong rwlock_max |
Size of the rwlock instances array.
Definition at line 46 of file pfs_instr.cc.
ulong rwlock_max |
Size of the rwlock instances array.
Definition at line 46 of file pfs_instr.cc.
ulong session_connect_attrs_lost = 0 |
Number of connection attributes lost
Definition at line 104 of file pfs_instr.cc.
ulong session_connect_attrs_lost |
Number of connection attributes lost
Definition at line 104 of file pfs_instr.cc.
ulong session_connect_attrs_size_per_thread |
Size of connection attribute storage per thread
Definition at line 102 of file pfs_instr.cc.
ulong session_connect_attrs_size_per_thread |
Size of connection attribute storage per thread
Definition at line 102 of file pfs_instr.cc.
PFS_setup_actor* setup_actor_array = NULL |
Setup_actor instances array.
Definition at line 43 of file pfs_setup_actor.cc.
PFS_setup_actor* setup_actor_array |
Setup_actor instances array.
Definition at line 43 of file pfs_setup_actor.cc.
LF_HASH setup_actor_hash |
Hash table for setup_actor records.
Definition at line 46 of file pfs_setup_actor.cc.
LF_HASH setup_actor_hash |
Hash table for setup_actor records.
Definition at line 46 of file pfs_setup_actor.cc.
ulong setup_actor_max |
Size of the setup_actor instances array.
Definition at line 36 of file pfs_setup_actor.cc.
ulong setup_actor_max |
Size of the setup_actor instances array.
Definition at line 36 of file pfs_setup_actor.cc.
PFS_socket* socket_array = NULL |
Socket instrumentation instances array.
Definition at line 161 of file pfs_instr.cc.
PFS_socket* socket_array |
Socket instrumentation instances array.
Definition at line 161 of file pfs_instr.cc.
ulong socket_class_lost = 0 |
Number of socket class lost.
Definition at line 113 of file pfs_instr_class.cc.
ulong socket_class_lost |
Number of socket class lost.
Definition at line 113 of file pfs_instr_class.cc.
ulong socket_class_max = 0 |
Size of the socket class array.
Definition at line 111 of file pfs_instr_class.cc.
ulong socket_class_max |
Size of the socket class array.
Definition at line 111 of file pfs_instr_class.cc.
bool socket_full |
True when socket_array
is full.
Definition at line 87 of file pfs_instr.cc.
ulong socket_lost |
ulong socket_lost |
ulong socket_max |
Size of the socket instances array.
Definition at line 85 of file pfs_instr.cc.
ulong socket_max |
Size of the socket instances array.
Definition at line 85 of file pfs_instr.cc.
ulong stage_class_lost = 0 |
Number of stage class lost.
Definition at line 101 of file pfs_instr_class.cc.
ulong stage_class_lost |
Number of stage class lost.
Definition at line 101 of file pfs_instr_class.cc.
ulong stage_class_max = 0 |
Size of the stage class array.
Definition at line 99 of file pfs_instr_class.cc.
ulong stage_class_max |
Size of the stage class array.
Definition at line 99 of file pfs_instr_class.cc.
ulong statement_class_lost = 0 |
Number of statement class lost.
Definition at line 105 of file pfs_instr_class.cc.
ulong statement_class_lost |
Number of statement class lost.
Definition at line 105 of file pfs_instr_class.cc.
ulong statement_class_max = 0 |
Size of the statement class array.
Definition at line 103 of file pfs_instr_class.cc.
ulong statement_class_max |
Size of the statement class array.
Definition at line 103 of file pfs_instr_class.cc.
ulong statement_lost = 0 |
Number of statement lost.
Definition at line 100 of file pfs_instr.cc.
ulong statement_lost |
Number of statement lost.
Definition at line 100 of file pfs_instr.cc.
uint statement_stack_max |
Max size of the statements stack.
Definition at line 96 of file pfs_instr.cc.
uint statement_stack_max |
Max size of the statements stack.
Definition at line 96 of file pfs_instr.cc.
PFS_table* table_array = NULL |
Table instrumentation instances array.
Definition at line 154 of file pfs_instr.cc.
PFS_table* table_array |
Table instrumentation instances array.
Definition at line 154 of file pfs_instr.cc.
bool table_full |
True when table_array
is full.
Definition at line 81 of file pfs_instr.cc.
ulong table_lost |
ulong table_lost |
ulong table_max |
ulong table_max |
PFS_table_share* table_share_array = NULL |
Table instance array.
Definition at line 136 of file pfs_instr_class.cc.
PFS_table_share* table_share_array |
Table instance array.
Definition at line 136 of file pfs_instr_class.cc.
LF_HASH table_share_hash |
Hash index for instrumented table shares. This index is searched by table fully qualified name (PFS_table_share_key
), and points to instrumented table shares (PFS_table_share
).
Definition at line 171 of file pfs_instr_class.cc.
LF_HASH table_share_hash |
Hash index for instrumented table shares. This index is searched by table fully qualified name (PFS_table_share_key
), and points to instrumented table shares (PFS_table_share
).
Definition at line 171 of file pfs_instr_class.cc.
ulong table_share_lost = 0 |
Number of table share lost.
Definition at line 109 of file pfs_instr_class.cc.
ulong table_share_lost |
Number of table share lost.
Definition at line 109 of file pfs_instr_class.cc.
ulong table_share_max = 0 |
Size of the table share array.
Definition at line 107 of file pfs_instr_class.cc.
ulong table_share_max |
Size of the table share array.
Definition at line 107 of file pfs_instr_class.cc.
PFS_thread* thread_array = NULL |
Thread instrumentation instances array.
Definition at line 132 of file pfs_instr.cc.
PFS_thread* thread_array |
Thread instrumentation instances array.
Definition at line 132 of file pfs_instr.cc.
ulong thread_class_lost = 0 |
Number of thread class lost.
Definition at line 93 of file pfs_instr_class.cc.
ulong thread_class_lost |
Number of thread class lost.
Definition at line 93 of file pfs_instr_class.cc.
ulong thread_class_max = 0 |
Size of the thread class array.
Definition at line 91 of file pfs_instr_class.cc.
ulong thread_class_max |
Size of the thread class array.
Definition at line 91 of file pfs_instr_class.cc.
bool thread_full |
True when thread_array
is full.
Definition at line 60 of file pfs_instr.cc.
ulong thread_lost |
ulong thread_lost |
ulong thread_max |
Size of the thread instances array.
Definition at line 58 of file pfs_instr.cc.
ulong thread_max |
Size of the thread instances array.
Definition at line 58 of file pfs_instr.cc.