gem5
v20.0.0.0
|
#include <pool_manager.hh>
Public Member Functions | |
PoolManager (uint32_t minAlloc, uint32_t poolSize) | |
uint32_t | minAllocation () |
virtual std::string | printRegion ()=0 |
virtual uint32_t | regionSize (std::pair< uint32_t, uint32_t > ®ion)=0 |
virtual bool | canAllocate (uint32_t numRegions, uint32_t size)=0 |
virtual uint32_t | allocateRegion (const uint32_t size, uint32_t *reserved)=0 |
virtual void | freeRegion (uint32_t firstIdx, uint32_t lastIdx)=0 |
uint32_t | poolSize () |
Private Attributes | |
uint32_t | _minAllocation |
uint32_t | _poolSize |
Definition at line 42 of file pool_manager.hh.
PoolManager::PoolManager | ( | uint32_t | minAlloc, |
uint32_t | poolSize | ||
) |
Definition at line 36 of file pool_manager.cc.
|
pure virtual |
Implemented in SimplePoolManager.
Referenced by minAllocation().
|
pure virtual |
Implemented in SimplePoolManager.
Referenced by minAllocation().
|
pure virtual |
Implemented in SimplePoolManager.
Referenced by minAllocation().
|
inline |
Definition at line 46 of file pool_manager.hh.
References _minAllocation, allocateRegion(), canAllocate(), freeRegion(), printRegion(), and regionSize().
Referenced by SimplePoolManager::minAllocatedElements().
|
inline |
Definition at line 55 of file pool_manager.hh.
References _poolSize.
Referenced by SimplePoolManager::allocateRegion(), SimplePoolManager::canAllocate(), SimplePoolManager::minAllocatedElements(), and SimplePoolManager::regionSize().
|
pure virtual |
Implemented in SimplePoolManager.
Referenced by minAllocation().
|
pure virtual |
Implemented in SimplePoolManager.
Referenced by minAllocation().
|
private |
Definition at line 59 of file pool_manager.hh.
Referenced by minAllocation().
|
private |
Definition at line 61 of file pool_manager.hh.
Referenced by poolSize().