26 explicit PMemArena(
size_t min_block_size = 1ULL << 32,
size_t size_limit = 0);
30 void*
allocate(
const size_t num_bytes)
override;
PMemArena(size_t min_block_size=1ULL<< 32, size_t size_limit=0)
void * allocate(const size_t num_bytes) override
size_t totalBytes() const override
size_t bytesUsed() const override
std::vector< std::pair< void *, size_t > > allocations_
MemoryType getMemoryType() const override
struct memkind * pmem_kind_
void * allocateAndZero(const size_t num_bytes) override