Class Arena

class Arena

Subclassed by DramArena, PMemArena

Public Types

enum MemoryType

Values:

DRAM
PMEM

Public Functions

virtual ~Arena()
virtual void *allocate(size_t size) = 0
virtual void *allocateAndZero(const size_t size) = 0
virtual size_t bytesUsed() const = 0
virtual MemoryType getMemoryType() const = 0