SDSL  3.0.0
Succinct Data Structure Library
sdsl::hugepage_allocator Class Reference

#include <memory_management.hpp>

Public Member Functions

void init (SDSL_UNUSED size_t size_in_bytes=0)
 
void * mm_realloc (void *ptr, size_t size)
 
void * mm_alloc (size_t size_in_bytes)
 
void mm_free (void *ptr)
 
bool in_address_space (void *ptr)
 

Static Public Member Functions

static hugepage_allocatorthe_allocator ()
 

Detailed Description

Definition at line 346 of file memory_management.hpp.

Member Function Documentation

◆ in_address_space()

bool sdsl::hugepage_allocator::in_address_space ( void *  ptr)
inline

Definition at line 753 of file memory_management.hpp.

◆ init()

void sdsl::hugepage_allocator::init ( SDSL_UNUSED size_t  size_in_bytes = 0)
inline

Definition at line 562 of file memory_management.hpp.

◆ mm_alloc()

void* sdsl::hugepage_allocator::mm_alloc ( size_t  size_in_bytes)
inline

Definition at line 699 of file memory_management.hpp.

◆ mm_free()

void sdsl::hugepage_allocator::mm_free ( void *  ptr)
inline

Definition at line 739 of file memory_management.hpp.

◆ mm_realloc()

void* sdsl::hugepage_allocator::mm_realloc ( void *  ptr,
size_t  size 
)
inline

Definition at line 591 of file memory_management.hpp.

◆ the_allocator()

static hugepage_allocator& sdsl::hugepage_allocator::the_allocator ( )
inlinestatic

Definition at line 760 of file memory_management.hpp.


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