8 #ifndef LLUVIA_CORE_MEMORY_MEMORY_FREE_SPACE_MANAGER_H_
9 #define LLUVIA_CORE_MEMORY_MEMORY_FREE_SPACE_MANAGER_H_
63 std::vector<uint64_t> m_offsetVector;
64 std::vector<uint64_t> m_sizeVector;
Structures and methods for storing memory allocation information.
Definition: MemoryFreeSpaceManager.h:28
void release(const ll::MemoryAllocationInfo &info) noexcept
const std::vector< uint64_t > & getOffsetVector() const noexcept
bool reserveManagerSpace() noexcept
MemoryFreeSpaceManager(MemoryFreeSpaceManager &&m)=default
void commitAllocation(const ll::impl::MemoryAllocationTryInfo &tryInfo) noexcept
MemoryFreeSpaceManager()=default
MemoryFreeSpaceManager & operator=(MemoryFreeSpaceManager &&heap)=default
const std::vector< uint64_t > & getSizeVector() const noexcept
uint64_t getSize() const noexcept
MemoryFreeSpaceManager(const MemoryFreeSpaceManager &m)=default
uint64_t getFreeSpaceCount() const noexcept
MemoryFreeSpaceManager & operator=(const MemoryFreeSpaceManager &heap)=default
~MemoryFreeSpaceManager()=default
bool tryAllocate(uint64_t tSize, ll::impl::MemoryAllocationTryInfo &tryInfoOut) noexcept
MemoryFreeSpaceManager(const uint64_t tSize)
friend std::ostream & operator<<(std::ostream &out, const MemoryFreeSpaceManager &manager)
bool allocate(uint64_t tSize, ll::MemoryAllocationInfo &out) noexcept
Structure to hold the allocation information of objects in memory.
Definition: MemoryAllocationInfo.h:19
Definition: MemoryFreeSpaceManager.h:23
ll::MemoryAllocationInfo allocInfo
Definition: MemoryFreeSpaceManager.h:24
uint32_t index
Definition: MemoryFreeSpaceManager.h:25