OmniSciDB
a5dc49c757
|
#include <ArenaAllocator.h>
Public Types | |
enum | MemoryType { MemoryType::DRAM, MemoryType::PMEM } |
Public Member 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 size_t | totalBytes () const =0 |
virtual MemoryType | getMemoryType () const =0 |
Definition at line 45 of file ArenaAllocator.h.
|
strong |
Enumerator | |
---|---|
DRAM | |
PMEM |
Definition at line 47 of file ArenaAllocator.h.
|
inlinevirtual |
Definition at line 48 of file ArenaAllocator.h.
|
pure virtual |
Implemented in DramArena, CpuMgrArenaAllocator, and PMemArena.
|
pure virtual |
Implemented in DramArena, CpuMgrArenaAllocator, and PMemArena.
|
pure virtual |
Implemented in DramArena, CpuMgrArenaAllocator, and PMemArena.
|
pure virtual |
Implemented in DramArena, CpuMgrArenaAllocator, and PMemArena.
|
pure virtual |
Implemented in DramArena, CpuMgrArenaAllocator, and PMemArena.