36 #ifndef __SIMPLE_POOL_MANAGER_HH__
37 #define __SIMPLE_POOL_MANAGER_HH__
59 void freeRegion(uint32_t firstIdx, uint32_t lastIdx);
72 #endif // __SIMPLE_POOL_MANAGER_HH__
uint32_t regionSize(std::pair< uint32_t, uint32_t > ®ion)
uint32_t minAllocatedElements(uint32_t size)
std::string printRegion()
void freeRegion(uint32_t firstIdx, uint32_t lastIdx)
bool canAllocate(uint32_t numRegions, uint32_t size)
SimplePoolManager(uint32_t minAlloc, uint32_t poolSize)
uint32_t allocateRegion(const uint32_t size, uint32_t *reservedPoolSize)