#include <PMemAllocator.h>
Definition at line 24 of file PMemAllocator.h.
PMemArena::PMemArena |
( |
size_t |
min_block_size = 1ULL << 32 , |
|
|
size_t |
size_limit = 0 |
|
) |
| |
|
explicit |
PMemArena::~PMemArena |
( |
| ) |
|
|
override |
void * PMemArena::allocate |
( |
const size_t |
num_bytes | ) |
|
|
overridevirtual |
void * PMemArena::allocateAndZero |
( |
const size_t |
num_bytes | ) |
|
|
overridevirtual |
Implements Arena.
Definition at line 58 of file PMemAllocator.cpp.
References allocate().
60 std::memset(ret, 0, num_bytes);
void * allocate(const size_t num_bytes) override
size_t PMemArena::bytesUsed |
( |
| ) |
const |
|
overridevirtual |
size_t PMemArena::totalBytes |
( |
| ) |
const |
|
overridevirtual |
std::vector<std::pair<void*, size_t> > PMemArena::allocations_ |
|
private |
struct memkind* PMemArena::pmem_kind_ = NULL |
|
private |
size_t PMemArena::size_limit_ |
|
private |
The documentation for this class was generated from the following files:
- /home/jenkins-slave/workspace/core-os-doxygen/DataMgr/Allocators/PMemAllocator.h
- /home/jenkins-slave/workspace/core-os-doxygen/DataMgr/Allocators/PMemAllocator.cpp