MySQL 8.0.29
Source Code Documentation

#include <pfs_stat.h>

Public Member Functions

void reset ()
 
void rebase ()
 
void count_builtin_alloc (size_t size)
 
void count_builtin_free (size_t size)
 
void count_global_alloc (size_t size)
 
void count_global_free (size_t size)
 
PFS_memory_stat_alloc_deltacount_alloc (size_t size, PFS_memory_stat_alloc_delta *delta)
 
PFS_memory_stat_free_deltacount_free (size_t size, PFS_memory_stat_free_delta *delta)
 
PFS_memory_stat_alloc_deltaapply_alloc_delta (const PFS_memory_stat_alloc_delta *delta, PFS_memory_stat_alloc_delta *delta_buffer)
 
PFS_memory_stat_free_deltaapply_free_delta (const PFS_memory_stat_free_delta *delta, PFS_memory_stat_free_delta *delta_buffer)
 

Public Attributes

std::atomic< bool > m_used
 
std::atomic< size_t > m_alloc_count
 
std::atomic< size_t > m_free_count
 
std::atomic< size_t > m_alloc_size
 
std::atomic< size_t > m_free_size
 
std::atomic< size_t > m_alloc_count_capacity
 
std::atomic< size_t > m_free_count_capacity
 
std::atomic< size_t > m_alloc_size_capacity
 
std::atomic< size_t > m_free_size_capacity
 

Member Function Documentation

◆ count_global_alloc()

void PFS_memory_shared_stat::count_global_alloc ( size_t  size)
inline

◆ count_global_free()

void PFS_memory_shared_stat::count_global_free ( size_t  size)
inline

Member Data Documentation

◆ m_alloc_count

std::atomic<size_t> PFS_memory_shared_stat::m_alloc_count

◆ m_alloc_count_capacity

std::atomic<size_t> PFS_memory_shared_stat::m_alloc_count_capacity

◆ m_alloc_size

std::atomic<size_t> PFS_memory_shared_stat::m_alloc_size

◆ m_alloc_size_capacity

std::atomic<size_t> PFS_memory_shared_stat::m_alloc_size_capacity

◆ m_free_count

std::atomic<size_t> PFS_memory_shared_stat::m_free_count

◆ m_free_count_capacity

std::atomic<size_t> PFS_memory_shared_stat::m_free_count_capacity

◆ m_free_size

std::atomic<size_t> PFS_memory_shared_stat::m_free_size

◆ m_free_size_capacity

std::atomic<size_t> PFS_memory_shared_stat::m_free_size_capacity

◆ m_used

std::atomic<bool> PFS_memory_shared_stat::m_used

The documentation for this struct was generated from the following files: