MySQL 8.0.40
Source Code Documentation

Combined statistic. More...

#include <pfs_stat.h>

Inheritance diagram for PFS_byte_stat:
[legend]

Public Member Functions

void aggregate (const PFS_byte_stat *stat)
 Aggregate wait stats, event count and byte count. More...
 
void aggregate_no_check (const PFS_byte_stat *stat)
 Aggregate wait stats, event count and byte count. More...
 
void aggregate (ulonglong wait, ulonglong bytes)
 Aggregate individual wait time, event count and byte count. More...
 
void aggregate_waits (const PFS_byte_stat *stat)
 Aggregate wait stats and event count. More...
 
void aggregate_counted ()
 Aggregate event count and byte count. More...
 
void aggregate_counted (ulonglong bytes)
 Aggregate event count and byte count. More...
 
 PFS_byte_stat ()
 
void reset ()
 
- Public Member Functions inherited from PFS_single_stat
 PFS_single_stat ()
 
void reset ()
 
bool has_timed_stats () const
 
void aggregate (const PFS_single_stat *stat)
 
void aggregate_no_check (const PFS_single_stat *stat)
 
void aggregate_counted ()
 
void aggregate_counted (ulonglong count)
 
void aggregate_value (ulonglong value)
 
void aggregate_many_value (ulonglong value, ulonglong count)
 

Public Attributes

ulonglong m_bytes
 Byte count statistics. More...
 
- Public Attributes inherited from PFS_single_stat
ulonglong m_count
 Count of values. More...
 
ulonglong m_sum
 Sum of values. More...
 
ulonglong m_min
 Minimum value. More...
 
ulonglong m_max
 Maximum value. More...
 

Detailed Description

Combined statistic.

Constructor & Destructor Documentation

◆ PFS_byte_stat()

PFS_byte_stat::PFS_byte_stat ( )
inline

Member Function Documentation

◆ aggregate() [1/2]

void PFS_byte_stat::aggregate ( const PFS_byte_stat stat)
inline

Aggregate wait stats, event count and byte count.

◆ aggregate() [2/2]

void PFS_byte_stat::aggregate ( ulonglong  wait,
ulonglong  bytes 
)
inline

Aggregate individual wait time, event count and byte count.

◆ aggregate_counted() [1/2]

void PFS_byte_stat::aggregate_counted ( )
inline

Aggregate event count and byte count.

◆ aggregate_counted() [2/2]

void PFS_byte_stat::aggregate_counted ( ulonglong  bytes)
inline

Aggregate event count and byte count.

◆ aggregate_no_check()

void PFS_byte_stat::aggregate_no_check ( const PFS_byte_stat stat)
inline

Aggregate wait stats, event count and byte count.

◆ aggregate_waits()

void PFS_byte_stat::aggregate_waits ( const PFS_byte_stat stat)
inline

Aggregate wait stats and event count.

◆ reset()

void PFS_byte_stat::reset ( void  )
inline

Member Data Documentation

◆ m_bytes

ulonglong PFS_byte_stat::m_bytes

Byte count statistics.


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