Class MemPool
Defined in File mem_pool.hpp
Class Documentation
-
class MemPool
Public Types
-
using freeList_t = concurrent::LoFFLi
Public Functions
-
MemPool(const cxx::greater_or_equal<uint32_t, CHUNK_MEMORY_ALIGNMENT> chunkSize, const cxx::greater_or_equal<uint32_t, 1> numberOfChunks, posix::Allocator &managementAllocator, posix::Allocator &chunkMemoryAllocator) noexcept
-
void *getChunk() noexcept
-
uint32_t getChunkSize() const noexcept
-
uint32_t getChunkCount() const noexcept
-
uint32_t getUsedChunks() const noexcept
-
uint32_t getMinFree() const noexcept
-
MemPoolInfo getInfo() const noexcept
-
void freeChunk(const void *chunk) noexcept
Public Static Attributes
-
static constexpr uint64_t CHUNK_MEMORY_ALIGNMENT = 8U
-
using freeList_t = concurrent::LoFFLi