24#ifndef COMPONENTS_SERVICES_BITS_PSI_COND_BITS_H
25#define COMPONENTS_SERVICES_BITS_PSI_COND_BITS_H
51#define PSI_COND_VERSION_1 1
58#define PSI_CURRENT_COND_VERSION 1
154 const void *identity);
187 unsigned int src_line);
struct PSI_cond_locker PSI_cond_locker
Definition: psi_cond_bits.h:72
PSI_cond_operation
Operation performed on an instrumented condition.
Definition: psi_cond_bits.h:75
void(* register_cond_v1_t)(const char *category, struct PSI_cond_info_v1 *info, int count)
Cond registration API.
Definition: psi_cond_bits.h:144
void(* broadcast_cond_v1_t)(struct PSI_cond *cond)
Record a condition instrumentation broadcast event.
Definition: psi_cond_bits.h:172
void(* destroy_cond_v1_t)(struct PSI_cond *cond)
Cond instrumentation destruction API.
Definition: psi_cond_bits.h:160
void(* signal_cond_v1_t)(struct PSI_cond *cond)
Record a condition instrumentation signal event.
Definition: psi_cond_bits.h:166
void(* end_cond_wait_v1_t)(struct PSI_cond_locker *locker, int rc)
Record a condition instrumentation wait end event.
Definition: psi_cond_bits.h:194
unsigned int PSI_cond_key
Instrumented cond key.
Definition: psi_cond_bits.h:44
@ PSI_COND_WAIT
Wait.
Definition: psi_cond_bits.h:77
@ PSI_COND_TIMEDWAIT
Wait, with timeout.
Definition: psi_cond_bits.h:79
struct PSI_thread PSI_thread
Definition: psi_thread_bits.h:82
static int count
Definition: myisam_ftdump.cc:45
static const char * category
Definition: sha2_password.cc:170
Performance schema instrumentation interface.
required string key
Definition: replication_asynchronous_connection_failover.proto:60
Condition information.
Definition: psi_cond_bits.h:88
PSI_cond_key * m_key
Pointer to the key assigned to the registered cond.
Definition: psi_cond_bits.h:92
int m_volatility
Volatility index.
Definition: psi_cond_bits.h:103
unsigned int m_flags
The flags of the cond to register.
Definition: psi_cond_bits.h:101
const char * m_documentation
Documentation.
Definition: psi_cond_bits.h:105
const char * m_name
The name of the cond to register.
Definition: psi_cond_bits.h:96
State data storage for start_cond_wait_v1_t.
Definition: psi_cond_bits.h:118
unsigned long long(* m_timer)(void)
Timer function.
Definition: psi_cond_bits.h:132
enum PSI_cond_operation m_operation
Current operation.
Definition: psi_cond_bits.h:122
struct PSI_cond * m_cond
Current condition.
Definition: psi_cond_bits.h:124
struct PSI_thread * m_thread
Current thread.
Definition: psi_cond_bits.h:128
unsigned long long m_timer_start
Timer start.
Definition: psi_cond_bits.h:130
struct PSI_mutex * m_mutex
Current mutex.
Definition: psi_cond_bits.h:126
unsigned int m_flags
Internal state.
Definition: psi_cond_bits.h:120
void * m_wait
Internal data.
Definition: psi_cond_bits.h:134
Interface for an instrumented condition.
Definition: psi_cond_bits.h:64
Instrumented artifact.
Definition: psi_bits.h:177
Interface for an instrumented mutex.
Definition: psi_mutex_bits.h:97