24#ifndef TABLE_SYSTEM_CPU_STATS_BASE_INCLUDED
25#define TABLE_SYSTEM_CPU_STATS_BASE_INCLUDED
65 std::shared_ptr<Stat_Buffer<System_CPU_Stats>>
m_buffer;
Definition: table_base.h:43
Definition: table_system_cpu_stats_base.h:54
table_system_cpu_stats_row row_t
Definition: table_system_cpu_stats_base.h:56
int rnd_pos() override
Definition: table_system_cpu_stats_base.cc:46
int read_column_value(PSI_field *field, unsigned int index) override
Definition: table_system_cpu_stats_base.cc:72
int rnd_next() override
Definition: table_system_cpu_stats_base.cc:35
virtual void make_row(const System_CPU_Stats &record)
Definition: table_system_cpu_stats_base.cc:55
std::shared_ptr< Stat_Buffer< System_CPU_Stats > > m_buffer
Definition: table_system_cpu_stats_base.h:65
row_t m_row
Definition: table_system_cpu_stats_base.h:64
static int record
Definition: mysqltest.cc:195
static PFS_engine_table_share_proxy share
Definition: connection_control_pfs_table.cc:95
bool index(const std::string &value, const String &search_for, uint32_t *idx)
Definition: contains.h:76
Definition: component_command.h:29
PFS_engine_table_share_proxy * table_system_cpu_stats_base_init(PFS_engine_table_share_proxy &share, const char *table_name, Access_control acl)
Definition: table_system_cpu_stats_base.cc:129
const char * table_name
Definition: rules_table_service.cc:56
Access_control
Types of access allowed to tables.
Definition: pfs_plugin_table_service.h:435
struct PSI_field PSI_field
This is an opaque structure to denote field in plugin/component code.
Definition: pfs_plugin_table_service.h:93
A share to be initialized by plugin/component code and to be provided to add_table() service method o...
Definition: pfs_plugin_table_service.h:462
Definition: health_monitor_system_bits.h:32
Definition: table_system_cpu_stats_base.h:35
time_t m_timestamp
Definition: table_system_cpu_stats_base.h:37
uint64_t m_steal_ms
Definition: table_system_cpu_stats_base.h:46
uint64_t m_guest_nice_ms
Definition: table_system_cpu_stats_base.h:48
uint64_t m_softirq_ms
Definition: table_system_cpu_stats_base.h:45
uint64_t m_iowait_ms
Definition: table_system_cpu_stats_base.h:43
uint64_t m_irq_ms
Definition: table_system_cpu_stats_base.h:44
uint64_t m_guest_ms
Definition: table_system_cpu_stats_base.h:47
uint64_t m_idle_ms
Definition: table_system_cpu_stats_base.h:42
uint64_t m_system_ms
Definition: table_system_cpu_stats_base.h:41
std::string m_cpu
Definition: table_system_cpu_stats_base.h:38
uint64_t m_user_ms
Definition: table_system_cpu_stats_base.h:39
uint64_t m_nice_ms
Definition: table_system_cpu_stats_base.h:40
bool m_extended_times_available
Definition: table_system_cpu_stats_base.h:49
table_system_cpu_stats_row()=default