MySQL 8.0.39
Source Code Documentation
pfs_stat.h File Reference

Statistics (declarations). More...

#include <assert.h>
#include <algorithm>
#include <atomic>
#include "my_sys.h"
#include "my_systime.h"
#include "sql/sql_const.h"
#include "storage/perfschema/pfs_error.h"
#include "storage/perfschema/pfs_global.h"
#include "string.h"

Go to the source code of this file.

Classes

struct  PFS_single_stat
 Single statistic. More...
 
struct  PFS_byte_stat
 Combined statistic. More...
 
struct  PFS_mutex_stat
 Statistics for mutex usage. More...
 
struct  PFS_rwlock_stat
 Statistics for rwlock usage. More...
 
struct  PFS_cond_stat
 Statistics for conditions usage. More...
 
struct  PFS_file_io_stat
 Statistics for FILE I/O. More...
 
struct  PFS_file_stat
 Statistics for FILE usage. More...
 
struct  PFS_stage_stat
 Statistics for stage usage. More...
 
struct  PFS_sp_stat
 Statistics for stored program usage. More...
 
struct  PFS_prepared_stmt_stat
 Statistics for prepared statement usage. More...
 
struct  PFS_statement_stat
 Statistics for statement usage. More...
 
struct  PFS_transaction_stat
 Statistics for transaction usage. More...
 
struct  PFS_error_single_stat
 Statistics for a server error. More...
 
struct  PFS_error_stat
 Statistics for all server errors. More...
 
struct  PFS_table_io_stat
 Single table I/O statistic. More...
 
struct  PFS_table_lock_stat
 Statistics for table locks. More...
 
struct  PFS_table_stat
 Statistics for TABLE usage. More...
 
struct  PFS_socket_io_stat
 Statistics for SOCKET I/O. More...
 
struct  PFS_socket_stat
 Statistics for SOCKET usage. More...
 
struct  PFS_memory_stat_alloc_delta
 
struct  PFS_memory_stat_free_delta
 
struct  PFS_memory_safe_stat
 Memory statistics. More...
 
struct  PFS_memory_shared_stat
 
struct  PFS_memory_monitoring_stat
 
struct  PFS_all_memory_stat
 
struct  PFS_session_all_memory_stat
 
struct  PFS_connection_stat
 Connections statistics. More...
 

Macros

#define COUNT_PFS_TL_LOCK_TYPE   10
 

Enumerations

enum  PFS_TL_LOCK_TYPE {
  PFS_TL_READ = 0 , PFS_TL_READ_WITH_SHARED_LOCKS = 1 , PFS_TL_READ_HIGH_PRIORITY = 2 , PFS_TL_READ_NO_INSERT = 3 ,
  PFS_TL_WRITE_ALLOW_WRITE = 4 , PFS_TL_WRITE_CONCURRENT_INSERT = 5 , PFS_TL_WRITE_LOW_PRIORITY = 6 , PFS_TL_WRITE = 7 ,
  PFS_TL_READ_EXTERNAL = 8 , PFS_TL_WRITE_EXTERNAL = 9 , PFS_TL_NONE = 99
}
 

Functions

void memory_partial_aggregate (PFS_memory_safe_stat *from, PFS_memory_shared_stat *stat)
 
void memory_partial_aggregate (PFS_memory_shared_stat *from, PFS_memory_shared_stat *stat)
 
void memory_partial_aggregate (PFS_memory_safe_stat *from, PFS_memory_shared_stat *stat1, PFS_memory_shared_stat *stat2)
 
void memory_partial_aggregate (PFS_memory_shared_stat *from, PFS_memory_shared_stat *stat1, PFS_memory_shared_stat *stat2)
 
void memory_full_aggregate_with_reassign (const PFS_memory_safe_stat *from, PFS_memory_shared_stat *stat, PFS_memory_shared_stat *global)
 Aggregate thread memory statistics to the parent bucket. More...
 
void memory_full_aggregate_with_reassign (const PFS_memory_safe_stat *from, PFS_memory_shared_stat *stat1, PFS_memory_shared_stat *stat2, PFS_memory_shared_stat *global)
 
void memory_full_aggregate (const PFS_memory_safe_stat *from, PFS_memory_shared_stat *stat)
 
void memory_full_aggregate (const PFS_memory_shared_stat *from, PFS_memory_shared_stat *stat)
 
void memory_full_aggregate (const PFS_memory_shared_stat *from, PFS_memory_shared_stat *stat1, PFS_memory_shared_stat *stat2)
 
void memory_monitoring_aggregate (const PFS_memory_safe_stat *from, PFS_memory_monitoring_stat *stat)
 
void memory_monitoring_aggregate (const PFS_memory_shared_stat *from, PFS_memory_monitoring_stat *stat)
 

Detailed Description

Statistics (declarations).