|  | MySQL 9.5.0
    Source Code Documentation | 
The counts we collect for a mutex. More...
#include <sync0types.h>
| Public Member Functions | |
| Count () 1 | |
| Constructor.  More... | |
| void | reset () 1 | 
| Rest the values to zero.  More... | |
| Public Attributes | |
| uint32_t | m_spins | 
| Number of spins trying to acquire the latch.  More... | |
| uint32_t | m_waits | 
| Number of waits trying to acquire the latch.  More... | |
| uint32_t | m_calls | 
| Number of times it was called.  More... | |
| bool | m_enabled | 
| true if enabled  More... | |
The counts we collect for a mutex.
| 
 | inline | 
Constructor.
| 
 | inline | 
Rest the values to zero.
| uint32_t LatchCounter::Count::m_calls | 
Number of times it was called.
| bool LatchCounter::Count::m_enabled | 
true if enabled
| uint32_t LatchCounter::Count::m_spins | 
Number of spins trying to acquire the latch.
| uint32_t LatchCounter::Count::m_waits | 
Number of waits trying to acquire the latch.