MySQL 8.0.39
Source Code Documentation

Statistics for TABLE usage. More...

#include <pfs_stat.h>

Public Member Functions

void reset_io ()
 Reset table I/O statistic. More...
 
void reset_lock ()
 Reset table lock statistic. More...
 
void reset ()
 Reset table statistic. More...
 
void fast_reset_io ()
 
void fast_reset_lock ()
 
void fast_reset ()
 
void aggregate_io (const PFS_table_stat *stat, uint key_count)
 
void aggregate_lock (const PFS_table_stat *stat)
 
void aggregate (const PFS_table_stat *stat, uint key_count)
 
void sum_io (PFS_single_stat *result, uint key_count)
 
void sum_lock (PFS_single_stat *result)
 
void sum (PFS_single_stat *result, uint key_count)
 

Public Attributes

PFS_table_io_stat m_index_stat [MAX_INDEXES+1]
 Statistics, per index. More...
 
PFS_table_lock_stat m_lock_stat
 Statistics, per lock type. More...
 

Static Public Attributes

static struct PFS_table_stat g_reset_template
 

Detailed Description

Statistics for TABLE usage.

Member Function Documentation

◆ aggregate()

void PFS_table_stat::aggregate ( const PFS_table_stat stat,
uint  key_count 
)
inline

◆ aggregate_io()

void PFS_table_stat::aggregate_io ( const PFS_table_stat stat,
uint  key_count 
)
inline

◆ aggregate_lock()

void PFS_table_stat::aggregate_lock ( const PFS_table_stat stat)
inline

◆ fast_reset()

void PFS_table_stat::fast_reset ( )
inline

◆ fast_reset_io()

void PFS_table_stat::fast_reset_io ( )
inline

◆ fast_reset_lock()

void PFS_table_stat::fast_reset_lock ( )
inline

◆ reset()

void PFS_table_stat::reset ( void  )
inline

Reset table statistic.

◆ reset_io()

void PFS_table_stat::reset_io ( )
inline

Reset table I/O statistic.

◆ reset_lock()

void PFS_table_stat::reset_lock ( )
inline

Reset table lock statistic.

◆ sum()

void PFS_table_stat::sum ( PFS_single_stat result,
uint  key_count 
)
inline

◆ sum_io()

void PFS_table_stat::sum_io ( PFS_single_stat result,
uint  key_count 
)
inline

◆ sum_lock()

void PFS_table_stat::sum_lock ( PFS_single_stat result)
inline

Member Data Documentation

◆ g_reset_template

PFS_table_stat PFS_table_stat::g_reset_template
static

◆ m_index_stat

PFS_table_io_stat PFS_table_stat::m_index_stat[MAX_INDEXES+1]

Statistics, per index.

Each index stat is in [0, MAX_INDEXES-1], stats when using no index are in [MAX_INDEXES].

◆ m_lock_stat

PFS_table_lock_stat PFS_table_stat::m_lock_stat

Statistics, per lock type.


The documentation for this struct was generated from the following files: