MySQL 8.0.40
Source Code Documentation
temptable::MemoryMonitor::MMAP Struct Reference

#include <allocator.h>

Static Public Member Functions

static size_t increase (size_t bytes)
 Log increments of MMAP-backed memory consumption. More...
 
static size_t decrease (size_t bytes)
 Log decrements of MMAP-backed memory consumption. More...
 
static size_t threshold ()
 Get MMAP-backed memory threshold level. More...
 
static size_t consumption ()
 Get current level of MMAP-backed memory consumption. More...
 

Member Function Documentation

◆ consumption()

static size_t temptable::MemoryMonitor::MMAP::consumption ( )
inlinestatic

Get current level of MMAP-backed memory consumption.

Returns
Current level of MMAP-backed memory consumption (in bytes).

◆ decrease()

static size_t temptable::MemoryMonitor::MMAP::decrease ( size_t  bytes)
inlinestatic

Log decrements of MMAP-backed memory consumption.

[in] Number of bytes.

Returns
MMAP-memory consumption after decrease.

◆ increase()

static size_t temptable::MemoryMonitor::MMAP::increase ( size_t  bytes)
inlinestatic

Log increments of MMAP-backed memory consumption.

[in] Number of bytes.

Returns
MMAP-memory consumption after increase.

◆ threshold()

static size_t temptable::MemoryMonitor::MMAP::threshold ( )
inlinestatic

Get MMAP-backed memory threshold level.

Level is defined by this Allocator.

Returns
MMAP-memory threshold.

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