#include <memory_management.hpp>
Definition at line 830 of file memory_management.hpp.
◆ alloc_mem()
static uint64_t * sdsl::memory_manager::alloc_mem |
( |
size_t | size_in_bytes | ) |
|
|
inlinestatic |
◆ clear()
template<class t_vec>
static void sdsl::memory_manager::clear |
( |
t_vec & | v | ) |
|
|
inlinestatic |
◆ close_file_for_mmap()
static int sdsl::memory_manager::close_file_for_mmap |
( |
int | fd | ) |
|
|
inlinestatic |
◆ free_mem()
static void sdsl::memory_manager::free_mem |
( |
uint64_t * | ptr | ) |
|
|
inlinestatic |
◆ mem_unmap()
static int sdsl::memory_manager::mem_unmap |
( |
int | fd, |
|
|
void * | addr, |
|
|
const uint64_t | size ) |
|
inlinestatic |
◆ mmap_file()
static void * sdsl::memory_manager::mmap_file |
( |
int | fd, |
|
|
uint64_t | file_size, |
|
|
std::ios_base::openmode | mode ) |
|
inlinestatic |
◆ open_file_for_mmap()
static int sdsl::memory_manager::open_file_for_mmap |
( |
std::string & | filename, |
|
|
std::ios_base::openmode | mode ) |
|
inlinestatic |
◆ realloc_mem()
static uint64_t * sdsl::memory_manager::realloc_mem |
( |
uint64_t * | ptr, |
|
|
size_t | size ) |
|
inlinestatic |
◆ resize()
template<class t_vec>
static void sdsl::memory_manager::resize |
( |
t_vec & | v, |
|
|
const typename t_vec::size_type | capacity ) |
|
inlinestatic |
◆ truncate_file_mmap()
static int sdsl::memory_manager::truncate_file_mmap |
( |
int | fd, |
|
|
const uint64_t | new_size ) |
|
inlinestatic |
◆ use_hugepages()
static void sdsl::memory_manager::use_hugepages |
( |
size_t | bytes = 0 | ) |
|
|
inlinestatic |
The documentation for this class was generated from the following file: