MySQL 8.0.40
Source Code Documentation
memutils.h File Reference

Memory utilities for temptable-allocator. More...

#include "my_config.h"
#include <fcntl.h>
#include <cstddef>
#include <cstdlib>
#include <numa.h>
#include "my_dbug.h"
#include "my_io.h"
#include "my_sys.h"
#include "sql/mysqld.h"
#include "storage/temptable/include/temptable/result.h"

Go to the source code of this file.

Classes

struct  temptable::Memory< Source >
 Primary-template (functor) class for memory-utils. More...
 
struct  temptable::Memory< Source::RAM >
 Template specialization for RAM-based allocation/deallocation. More...
 
struct  temptable::Memory< Source::MMAP_FILE >
 Template specialization for MMAP-based allocation/deallocation. More...
 

Namespaces

namespace  temptable
 

Macros

#define TEMPTABLE_USE_LINUX_NUMA
 

Enumerations

enum class  temptable::Source { temptable::MMAP_FILE , temptable::RAM }
 Type of memory allocated. More...
 

Detailed Description

Memory utilities for temptable-allocator.

Macro Definition Documentation

◆ TEMPTABLE_USE_LINUX_NUMA

#define TEMPTABLE_USE_LINUX_NUMA