|
SDSL 3.0.3
Succinct Data Structure Library
|
memory_management.hpp contains two function for allocating and deallocating memory More...
#include <algorithm>#include <chrono>#include <cstdlib>#include <ctype.h>#include <errno.h>#include <fcntl.h>#include <iostream>#include <map>#include <memory>#include <new>#include <sstream>#include <stddef.h>#include <stdint.h>#include <stdio.h>#include <string.h>#include <string>#include <system_error>#include <unistd.h>#include <utility>#include <vector>#include <sdsl/config.hpp>#include <sdsl/memory_tracking.hpp>#include <sdsl/ram_fs.hpp>#include <sys/mman.h>Go to the source code of this file.
Classes | |
| struct | sdsl::mm_block |
| struct | sdsl::bfoot |
| class | sdsl::hugepage_allocator |
| class | sdsl::memory_manager |
Namespaces | |
| namespace | sdsl |
| Namespace for the succinct data structure library. | |
Macros | |
| #define | ALIGNMENT sizeof(uint64_t) |
| #define | ALIGNSPLIT(size) |
| #define | ALIGN(size) |
| #define | MM_BLOCK_OVERHEAD (sizeof(size_t) + sizeof(size_t)) |
| #define | MIN_BLOCKSIZE (ALIGN(sizeof(mm_block_t) + sizeof(mm_block_foot_t))) |
| #define | UNMASK_SIZE(size) |
| #define | ISFREE(size) |
| #define | SETFREE(size) |
| #define | SPLIT_THRESHOLD (MIN_BLOCKSIZE) |
Typedefs | |
| typedef struct sdsl::mm_block | sdsl::mm_block_t |
| typedef struct sdsl::bfoot | sdsl::mm_block_foot_t |
memory_management.hpp contains two function for allocating and deallocating memory
Definition in file memory_management.hpp.
| #define ALIGN | ( | size | ) |
Definition at line 267 of file memory_management.hpp.
| #define ALIGNMENT sizeof(uint64_t) |
Definition at line 265 of file memory_management.hpp.
| #define ALIGNSPLIT | ( | size | ) |
Definition at line 266 of file memory_management.hpp.
| #define ISFREE | ( | size | ) |
Definition at line 271 of file memory_management.hpp.
| #define MIN_BLOCKSIZE (ALIGN(sizeof(mm_block_t) + sizeof(mm_block_foot_t))) |
Definition at line 269 of file memory_management.hpp.
| #define MM_BLOCK_OVERHEAD (sizeof(size_t) + sizeof(size_t)) |
Definition at line 268 of file memory_management.hpp.
| #define SETFREE | ( | size | ) |
Definition at line 272 of file memory_management.hpp.
| #define SPLIT_THRESHOLD (MIN_BLOCKSIZE) |
Definition at line 273 of file memory_management.hpp.
| #define UNMASK_SIZE | ( | size | ) |
Definition at line 270 of file memory_management.hpp.