32#ifndef __POOL_MANAGER_HH__
33#define __POOL_MANAGER_HH__
39#include "params/PoolManager.hh"
54 virtual bool canAllocate(uint32_t numRegions, uint32_t size) = 0;
59 virtual void freeRegion(uint32_t firstIdx, uint32_t lastIdx) = 0;
virtual uint32_t allocateRegion(const uint32_t size, uint32_t *reserved)=0
PoolManager(const PoolManagerParams &p)
virtual uint32_t regionSize(std::pair< uint32_t, uint32_t > ®ion)=0
virtual void resetRegion(const int ®sPerSimd)
virtual std::string printRegion()=0
virtual bool canAllocate(uint32_t numRegions, uint32_t size)=0
virtual void freeRegion(uint32_t firstIdx, uint32_t lastIdx)=0
Abstract superclass for simulation objects.
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
Bitfield< 63, 19 > reserved