MySQL 26.10.0
Source Code Documentation
health_monitor_process_memory_mapping.h File Reference
#include <mysql/components/library_mysys/system_info.h>
#include <cstdint>
#include <utility>
#include "health_monitor_memory.h"

Go to the source code of this file.

Classes

struct  hm::Health_process_memory_row
 

Namespaces

namespace  hm
 

Enumerations

enum class  hm::Process_memory_metric { hm::resident_bytes , hm::data_bytes , hm::swap_bytes , hm::page_faults }
 

Functions

bool hm::convert_process_memory_snapshot (const mysql::system_info::Process_memory_snapshot &snapshot, Process_Memory_Info &output)
 Convert a process memory snapshot into a Health Monitor memory record. More...
 
bool hm::process_memory_snapshot_is_unavailable (const mysql::system_info::Process_memory_snapshot &snapshot)
 Check whether the process memory row must be omitted as unavailable. More...
 
Health_process_memory_row hm::make_health_process_memory_row (const Process_Memory_Info &record)
 Convert a process memory record into a Performance Schema table row. More...
 
bool hm::health_process_memory_column_is_null (const Health_process_memory_row &row, unsigned int index)
 Determine whether a process memory column is NULL. More...
 
template<typename Delivery >
bool hm::deliver_process_memory_metric (const Process_Memory_Info &record, const Process_memory_metric metric, Delivery &&delivery)
 Deliver one available process memory metric. More...