Go to the documentation of this file.
34 #ifndef __POOL_MANAGER_HH__
35 #define __POOL_MANAGER_HH__
41 #include "params/PoolManager.hh"
53 virtual bool canAllocate(uint32_t numRegions, uint32_t size) = 0;
56 uint32_t *reserved) = 0;
58 virtual void freeRegion(uint32_t firstIdx, uint32_t lastIdx) = 0;
68 #endif // __POOL_MANAGER_HH__
virtual void freeRegion(uint32_t firstIdx, uint32_t lastIdx)=0
PoolManager(const PoolManagerParams *p)
virtual bool canAllocate(uint32_t numRegions, uint32_t size)=0
virtual std::string printRegion()=0
virtual uint32_t allocateRegion(const uint32_t size, uint32_t *reserved)=0
virtual uint32_t regionSize(std::pair< uint32_t, uint32_t > ®ion)=0
Abstract superclass for simulation objects.
Generated on Wed Sep 30 2020 14:02:12 for gem5 by doxygen 1.8.17