MySQL 9.0.0
Source Code Documentation

#include <pfs_stat.h>

Public Member Functions

void reset ()
 
void start_top_statement ()
 
void end_top_statement (size_t *stmt_size)
 
void start_nested_statement (size_t *local_size_start, size_t *stmt_size_start)
 
void end_nested_statement (size_t local_size_start, size_t stmt_size_start, size_t *stmt_size)
 
void count_alloc (size_t size)
 
void count_free (size_t size)
 
size_t get_session_size () const
 
size_t get_session_max () const
 

Public Attributes

size_t m_size
 The current memory size allocated. More...
 
size_t m_max_local_size
 The maximum memory size allocated, for a sub statement. More...
 
size_t m_max_stmt_size
 The maximum memory size allocated, for a statement. More...
 
size_t m_max_session_size
 The maximum memory size allocated, for this session. More...
 

Member Function Documentation

◆ count_alloc()

void PFS_all_memory_stat::count_alloc ( size_t  size)
inline

◆ count_free()

void PFS_all_memory_stat::count_free ( size_t  size)
inline

◆ end_nested_statement()

void PFS_all_memory_stat::end_nested_statement ( size_t  local_size_start,
size_t  stmt_size_start,
size_t *  stmt_size 
)
inline

◆ end_top_statement()

void PFS_all_memory_stat::end_top_statement ( size_t *  stmt_size)
inline

◆ get_session_max()

size_t PFS_all_memory_stat::get_session_max ( ) const
inline

◆ get_session_size()

size_t PFS_all_memory_stat::get_session_size ( ) const
inline

◆ reset()

void PFS_all_memory_stat::reset ( void  )
inline

◆ start_nested_statement()

void PFS_all_memory_stat::start_nested_statement ( size_t *  local_size_start,
size_t *  stmt_size_start 
)
inline

◆ start_top_statement()

void PFS_all_memory_stat::start_top_statement ( )
inline

Member Data Documentation

◆ m_max_local_size

size_t PFS_all_memory_stat::m_max_local_size

The maximum memory size allocated, for a sub statement.

◆ m_max_session_size

size_t PFS_all_memory_stat::m_max_session_size

The maximum memory size allocated, for this session.

◆ m_max_stmt_size

size_t PFS_all_memory_stat::m_max_stmt_size

The maximum memory size allocated, for a statement.

◆ m_size

size_t PFS_all_memory_stat::m_size

The current memory size allocated.


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