33#ifndef __DYN_POOL_MANAGER_HH__
34#define __DYN_POOL_MANAGER_HH__
40#include "params/DynPoolManager.hh"
55 uint32_t
allocateRegion(
const uint32_t size, uint32_t *reservedPoolSize)
override;
56 bool canAllocate(uint32_t numRegions, uint32_t size)
override;
57 void freeRegion(uint32_t firstIdx, uint32_t lastIdx)
override;
void resetRegion(const int ®sPerSimd) override
std::string printRegion() override
std::list< std::pair< int, int > > freeSpaceRecord
uint32_t allocateRegion(const uint32_t size, uint32_t *reservedPoolSize) override
uint32_t minAllocatedElements(uint32_t size)
uint32_t regionSize(std::pair< uint32_t, uint32_t > ®ion) override
uint32_t _totRegSpaceAvailable
DynPoolManager(const PoolManagerParams &p)
void freeRegion(uint32_t firstIdx, uint32_t lastIdx) override
bool canAllocate(uint32_t numRegions, uint32_t size) override
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.