MySQL 9.1.0
Source Code Documentation

Single statistic. More...

#include <pfs_stat.h>

Inheritance diagram for PFS_single_stat:
[legend]

Public Member Functions

 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_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

Single statistic.

Constructor & Destructor Documentation

◆ PFS_single_stat()

PFS_single_stat::PFS_single_stat ( )
inline

Member Function Documentation

◆ aggregate()

void PFS_single_stat::aggregate ( const PFS_single_stat stat)
inline

◆ aggregate_counted() [1/2]

void PFS_single_stat::aggregate_counted ( )
inline

◆ aggregate_counted() [2/2]

void PFS_single_stat::aggregate_counted ( ulonglong  count)
inline

◆ aggregate_many_value()

void PFS_single_stat::aggregate_many_value ( ulonglong  value,
ulonglong  count 
)
inline

◆ aggregate_no_check()

void PFS_single_stat::aggregate_no_check ( const PFS_single_stat stat)
inline

◆ aggregate_value()

void PFS_single_stat::aggregate_value ( ulonglong  value)
inline

◆ has_timed_stats()

bool PFS_single_stat::has_timed_stats ( ) const
inline

◆ reset()

void PFS_single_stat::reset ( void  )
inline

Member Data Documentation

◆ m_count

ulonglong PFS_single_stat::m_count

Count of values.

◆ m_max

ulonglong PFS_single_stat::m_max

Maximum value.

◆ m_min

ulonglong PFS_single_stat::m_min

Minimum value.

◆ m_sum

ulonglong PFS_single_stat::m_sum

Sum of values.


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