MySQL 8.0.40
Source Code Documentation
block.cc File Reference
#include <assert.h>
#include "my_psi_config.h"
#include "mysql/components/services/bits/psi_bits.h"
#include "mysql/psi/mysql_memory.h"
#include "mysql/psi/psi_memory.h"

Namespaces

namespace  temptable
 

Macros

#define TEMPTABLE_PFS_MEMORY
 

Functions

void temptable::Block_PSI_init ()
 Initialize the PSI memory engine. More...
 
void temptable::Block_PSI_track_logical_allocation (size_t size)
 Log logical (Chunk) memory allocation. More...
 
void temptable::Block_PSI_track_logical_deallocation (size_t size)
 Log logical (Chunk) memory deallocation. More...
 
void temptable::Block_PSI_track_physical_ram_allocation (void *ptr, size_t size)
 Log physical memory allocation of a Block located in RAM. More...
 
void temptable::Block_PSI_track_physical_ram_deallocation (uint8_t *ptr)
 Log physical memory deallocation of a Block located in RAM. More...
 
void temptable::Block_PSI_track_physical_disk_allocation (void *ptr, size_t size)
 Log physical memory allocation of a Block located in MMAP-ed file. More...
 
void temptable::Block_PSI_track_physical_disk_deallocation (uint8_t *ptr)
 Log physical memory deallocation of a Block located in MMAP-ed file. More...
 

Variables

PSI_memory_key temptable::mem_key_physical_disk
 PFS key to account physical allocations and deallocations from disk. More...
 
PSI_memory_key temptable::mem_key_physical_ram
 PFS key to account physical allocations and deallocations from RAM. More...
 
PSI_memory_info temptable::pfs_info []
 Array of PFS keys. More...
 
const size_t temptable::pfs_info_num_elements = sizeof(pfs_info) / sizeof(pfs_info[0])
 Number of elements inside pfs_info[]. More...
 

Macro Definition Documentation

◆ TEMPTABLE_PFS_MEMORY

#define TEMPTABLE_PFS_MEMORY