![]()  | 
  
    MySQL 9.5.0
    
   Source Code Documentation 
   | 
 
Instrumented artifact. More...
#include <psi_bits.h>
Public Attributes | |
| bool | m_enabled | 
| Instrumentation is enabled.  More... | |
Instrumented artifact.
The object instrumented can be enabled or disabled. The m_enabled member is visible and public, and must be tested by the instrumented code before making low level api calls to the actual instrumentation implementation. 
| bool PSI_instr::m_enabled | 
Instrumentation is enabled.
This flag must be checked before making calls to:
PSI_MUTEX_CALL(start_mutex_wait) PSI_MUTEX_CALL(unlock_mutex) PSI_RWLOCK_CALL(start_rwlock_rdwait) PSI_RWLOCK_CALL(start_rwlock_wrwait) PSI_RWLOCK_CALL(unlock_rwlock) PSI_COND_CALL(start_cond_wait) PSI_COND_CALL(signal_cond) PSI_COND_CALL(broadcast_cond) PSI_SOCKET_CALL(start_socket_wait)