SDSL 3.0.3
Succinct Data Structure Library
Loading...
Searching...
No Matches
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 374 of file memory_management.hpp.

Member Function Documentation

◆ in_address_space()

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

Definition at line 809 of file memory_management.hpp.

◆ init()

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

Definition at line 618 of file memory_management.hpp.

◆ mm_alloc()

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

Definition at line 755 of file memory_management.hpp.

◆ mm_free()

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

Definition at line 795 of file memory_management.hpp.

◆ mm_realloc()

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

Definition at line 646 of file memory_management.hpp.

◆ the_allocator()

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

Definition at line 822 of file memory_management.hpp.


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