![]() |
MySQL 8.0.41
Source Code Documentation
|
Small wrapper which utilizes SFINAE to dispatch the call to appropriate allocator implementation. More...
#include <alloc.h>
Static Public Member Functions | |
template<bool Zero_initialized, typename T = Impl> | |
static std::enable_if< T::is_pfs_instrumented_v, void * >::type | alloc (size_t size, PSI_memory_key key) |
template<bool Zero_initialized, typename T = Impl> | |
static std::enable_if<!T::is_pfs_instrumented_v, void * >::type | alloc (size_t size, PSI_memory_key) |
template<typename T = Impl> | |
static std::enable_if< T::is_pfs_instrumented_v, void * >::type | realloc (void *ptr, size_t size, PSI_memory_key key) |
template<typename T = Impl> | |
static std::enable_if<!T::is_pfs_instrumented_v, void * >::type | realloc (void *ptr, size_t size, PSI_memory_key) |
static void | free (void *ptr) |
static size_t | datalen (void *ptr) |
template<typename T = Impl> | |
static std::enable_if< T::is_pfs_instrumented_v, size_t >::type | pfs_overhead () |
template<typename T = Impl> | |
static std::enable_if<!T::is_pfs_instrumented_v, size_t >::type | pfs_overhead () |
Small wrapper which utilizes SFINAE to dispatch the call to appropriate allocator implementation.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |