Class Buffer_Namespace::CpuBufferMgr

class CpuBufferMgr : public Buffer_Namespace::BufferMgr

Subclassed by Buffer_Namespace::TieredCpuBufferMgr

Public Functions

CpuBufferMgr(const int device_id, const size_t max_buffer_pool_size, CudaMgr_Namespace::CudaMgr *cuda_mgr, const size_t min_slab_size, const size_t max_slab_size, const size_t page_size, AbstractBufferMgr *parent_mgr = nullptr)
~CpuBufferMgr()
MgrType getMgrType()
std::string getStringMgrType()

Protected Functions

void addSlab(const size_t slab_size)
void freeAllMem()
void allocateBuffer(BufferList::iterator segment_iter, const size_t page_size, const size_t initial_size)
void initializeMem()

Protected Attributes

CudaMgr_Namespace::CudaMgr *cuda_mgr_

Private Members

std::unique_ptr<DramArena> allocator_