MySQL 8.4.2
Source Code Documentation
pfs_memory_provider.h File Reference

Performance schema instrumentation (declarations). More...

#include "my_psi_config.h"
#include <stddef.h>
#include "my_macros.h"
#include "mysql/psi/psi_memory.h"

Go to the source code of this file.

Macros

#define PSI_MEMORY_CALL(M)   pfs_##M##_vc
 

Functions

void pfs_register_memory_vc (const char *category, struct PSI_memory_info_v1 *info, int count)
 
PSI_memory_key pfs_memory_alloc_vc (PSI_memory_key key, size_t size, PSI_thread **owner)
 
PSI_memory_key pfs_memory_realloc_vc (PSI_memory_key key, size_t old_size, size_t new_size, PSI_thread **owner)
 
PSI_memory_key pfs_memory_claim_vc (PSI_memory_key key, size_t size, PSI_thread **owner, bool claim)
 
void pfs_memory_free_vc (PSI_memory_key key, size_t size, PSI_thread *owner)
 

Detailed Description

Performance schema instrumentation (declarations).

Macro Definition Documentation

◆ PSI_MEMORY_CALL

#define PSI_MEMORY_CALL (   M)    pfs_##M##_vc

Function Documentation

◆ pfs_memory_alloc_vc()

PSI_memory_key pfs_memory_alloc_vc ( PSI_memory_key  key,
size_t  size,
PSI_thread **  owner 
)

◆ pfs_memory_claim_vc()

PSI_memory_key pfs_memory_claim_vc ( PSI_memory_key  key,
size_t  size,
PSI_thread **  owner,
bool  claim 
)

◆ pfs_memory_free_vc()

void pfs_memory_free_vc ( PSI_memory_key  key,
size_t  size,
PSI_thread owner 
)

◆ pfs_memory_realloc_vc()

PSI_memory_key pfs_memory_realloc_vc ( PSI_memory_key  key,
size_t  old_size,
size_t  new_size,
PSI_thread **  owner 
)

◆ pfs_register_memory_vc()

void pfs_register_memory_vc ( const char *  category,
struct PSI_memory_info_v1 info,
int  count 
)