MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PFS_table_stat Struct Reference

#include <pfs_stat.h>

Collaboration diagram for PFS_table_stat:

Public Member Functions

void reset_io (void)
void reset_lock (void)
void reset (void)
void fast_reset_io (void)
void fast_reset_lock (void)
void fast_reset (void)
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]
PFS_table_lock_stat m_lock_stat

Static Public Attributes

static struct PFS_table_stat g_reset_template

Detailed Description

Statistics for TABLE usage.

Definition at line 519 of file pfs_stat.h.

Member Function Documentation

void PFS_table_stat::reset ( void  )
inline

Reset table statistic.

Definition at line 549 of file pfs_stat.h.

Here is the call graph for this function:

Here is the caller graph for this function:

void PFS_table_stat::reset_io ( void  )
inline

Reset table io statistic.

Definition at line 534 of file pfs_stat.h.

Here is the caller graph for this function:

void PFS_table_stat::reset_lock ( void  )
inline

Reset table lock statistic.

Definition at line 543 of file pfs_stat.h.

Here is the caller graph for this function:

Member Data Documentation

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].

Definition at line 526 of file pfs_stat.h.

PFS_table_lock_stat PFS_table_stat::m_lock_stat

Statistics, per lock type.

Definition at line 531 of file pfs_stat.h.


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