MySQL 9.1.0
Source Code Documentation
ShowStatus::Value Struct Reference

For tracking the mutex metrics. More...

Public Member Functions

 Value (const char *name, ulint spins, uint64_t waits, uint64_t calls)
 Constructor. More...
 

Public Attributes

std::string m_name
 Mutex name. More...
 
ulint m_spins
 Spins so far. More...
 
uint64_t m_waits
 Waits so far. More...
 
uint64_t m_calls
 Number of calls so far. More...
 

Detailed Description

For tracking the mutex metrics.

Constructor & Destructor Documentation

◆ Value()

ShowStatus::Value::Value ( const char *  name,
ulint  spins,
uint64_t  waits,
uint64_t  calls 
)
inline

Constructor.

Parameters
[in]nameName of the mutex
[in]spinsNumber of spins
[in]waitsOS waits so far
[in]callsNumber of calls to enter()

Member Data Documentation

◆ m_calls

uint64_t ShowStatus::Value::m_calls

Number of calls so far.

◆ m_name

std::string ShowStatus::Value::m_name

Mutex name.

◆ m_spins

ulint ShowStatus::Value::m_spins

Spins so far.

◆ m_waits

uint64_t ShowStatus::Value::m_waits

Waits so far.


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