MySQL  8.0.19
Source Code Documentation

#include <pfs_stat.h>

Public Member Functions

void reset (void)
 
void rebase (void)
 
void count_builtin_alloc (size_t size)
 
void count_builtin_free (size_t size)
 
void count_global_alloc (size_t size)
 
void count_global_realloc (size_t old_size, size_t new_size)
 
void count_global_free (size_t size)
 
PFS_memory_stat_deltacount_alloc (size_t size, PFS_memory_stat_delta *delta)
 
PFS_memory_stat_deltacount_realloc (size_t old_size, size_t new_size, PFS_memory_stat_delta *delta)
 
PFS_memory_stat_deltacount_free (size_t size, PFS_memory_stat_delta *delta)
 
PFS_memory_stat_deltaapply_delta (const PFS_memory_stat_delta *delta, PFS_memory_stat_delta *delta_buffer)
 

Public Attributes

std::atomic< boolm_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

◆ apply_delta()

PFS_memory_stat_delta* PFS_memory_shared_stat::apply_delta ( const PFS_memory_stat_delta delta,
PFS_memory_stat_delta delta_buffer 
)
inline

◆ count_alloc()

PFS_memory_stat_delta* PFS_memory_shared_stat::count_alloc ( size_t  size,
PFS_memory_stat_delta delta 
)
inline

◆ count_builtin_alloc()

void PFS_memory_shared_stat::count_builtin_alloc ( size_t  size)
inline

◆ count_builtin_free()

void PFS_memory_shared_stat::count_builtin_free ( size_t  size)
inline

◆ count_free()

PFS_memory_stat_delta* PFS_memory_shared_stat::count_free ( size_t  size,
PFS_memory_stat_delta delta 
)
inline

◆ 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

◆ count_global_realloc()

void PFS_memory_shared_stat::count_global_realloc ( size_t  old_size,
size_t  new_size 
)
inline

◆ count_realloc()

PFS_memory_stat_delta* PFS_memory_shared_stat::count_realloc ( size_t  old_size,
size_t  new_size,
PFS_memory_stat_delta delta 
)
inline

◆ rebase()

void PFS_memory_shared_stat::rebase ( void  )
inline

◆ reset()

void PFS_memory_shared_stat::reset ( void  )
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 file: