67 -> std::enable_if_t<std::is_constructible_v<T, U>,
int> {
Metric_Buffer extends the circular buffer, Stat_Buffer, with a two-way read/write capability such tha...
Definition: health_monitor_metric_buffer.h:38
auto write(const U &arg) -> std::enable_if_t< std::is_constructible_v< T, U >, int >
Definition: health_monitor_metric_buffer.h:66
void set_writeable(bool writeable)
Definition: health_monitor_metric_buffer.h:49
Metric_Buffer(PSI_rwlock_key rwlock_key, PSI_memory_key memory_key)
Definition: health_monitor_metric_buffer.h:45
std::atomic< bool > m_writeable
Definition: health_monitor_metric_buffer.h:73
Metric_Buffer(bool no_lock, PSI_memory_key memory_key)
Definition: health_monitor_metric_buffer.h:42
bool writeable()
Definition: health_monitor_metric_buffer.h:48
int write(const T &record)
Definition: health_monitor_metric_buffer.h:54
Sample data buffer.
Definition: health_monitor_stat_buffer.h:43
int write(const T &record)
Write one element into the circular buffer at the current head position.
Definition: health_monitor_stat_buffer.h:178
unsigned int PSI_memory_key
Instrumented memory key.
Definition: psi_memory_bits.h:49
unsigned int PSI_rwlock_key
Instrumented rwlock key.
Definition: psi_rwlock_bits.h:44
#define T
Definition: jit_executor_value.cc:373
static int record
Definition: mysqltest.cc:195
Definition: component_command.h:29