MySQL 9.1.0
Source Code Documentation
ShowStatus::GetCount Struct Reference

Collect the individual latch counts. More...

Public Types

typedef latch_meta_t::CounterType::Count Count
 

Public Member Functions

 GetCount (const char *name, Values *values) 1
 Constructor. More...
 
void operator() (const Count *count) 1
 Collect the latch metrics. More...
 

Public Attributes

const char * m_name
 The latch name. More...
 
Valuesm_values
 For collecting the active mutex stats. More...
 

Detailed Description

Collect the individual latch counts.

Member Typedef Documentation

◆ Count

typedef latch_meta_t::CounterType::Count ShowStatus::GetCount::Count

Constructor & Destructor Documentation

◆ GetCount()

ShowStatus::GetCount::GetCount ( const char *  name,
Values values 
)
inline

Constructor.

Parameters
[in]nameLatch name
[in,out]valuesPut the values here

Member Function Documentation

◆ operator()()

void ShowStatus::GetCount::operator() ( const Count count)
inline

Collect the latch metrics.

Ignore entries where the spins and waits are zero.

Parameters
[in]countThe latch metrics

Member Data Documentation

◆ m_name

const char* ShowStatus::GetCount::m_name

The latch name.

◆ m_values

Values* ShowStatus::GetCount::m_values

For collecting the active mutex stats.


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