24.02
|
SingleAxisPriorityList sorts the MemBlocks according to some priority, then trys to place them into as few bins as possible. More...
#include <SingleAxisPriorityList.hpp>
Public Member Functions | |
SingleAxisPriorityList () | |
std::string | GetName () const override |
MemBlockStrategyType | GetMemBlockStrategyType () const override |
std::vector< MemBin > | Optimize (std::vector< MemBlock > &memBlocks) override |
Public Member Functions inherited from IMemoryOptimizerStrategy | |
virtual | ~IMemoryOptimizerStrategy () |
SingleAxisPriorityList sorts the MemBlocks according to some priority, then trys to place them into as few bins as possible.
Definition at line 20 of file SingleAxisPriorityList.hpp.
|
inline |
|
overridevirtual |
Implements IMemoryOptimizerStrategy.
Definition at line 28 of file SingleAxisPriorityList.cpp.
|
overridevirtual |
Implements IMemoryOptimizerStrategy.
Definition at line 24 of file SingleAxisPriorityList.cpp.
Implements IMemoryOptimizerStrategy.
Definition at line 214 of file SingleAxisPriorityList.cpp.
References MemBin::m_MemBlocks, MemBlock::m_MemSize, MemBin::m_MemSize, and MemBlock::m_StartOfLife.