17 std::size_t
Size(
const void* a_block)
const override;
22 void*
Allocate(std::size_t a_size, std::uint32_t a_alignment)
override;
23 void Deallocate(
void* a_pointer, std::uint32_t)
override;
25 std::size_t
TotalSize(
const void* a_pointer)
const override;
Definition: BSAtomic.h:92
Definition: IMemoryHeap.h:31
Definition: ZeroOverheadHeap.h:9
void Deallocate(void *a_pointer, std::uint32_t) override
std::size_t Size(const void *a_block) const override
static constexpr auto VTABLE
Definition: ZeroOverheadHeap.h:12
void * nextFreeMem
Definition: ZeroOverheadHeap.h:34
void GetHeapStats(HeapStats *a_stats, bool a_fullBlockInfo) override
bool ContainsBlockImpl(const void *a_block) const override
void * Allocate(std::size_t a_size, std::uint32_t a_alignment) override
void * AllocateAlignImpl(std::size_t a_size, std::uint32_t a_alignment) override
std::size_t TotalSize(const void *a_pointer) const override
const char * GetName() const override
void * memoryBase
Definition: ZeroOverheadHeap.h:33
~ZeroOverheadHeap() override
void GetMemoryStats(MemoryStats *a_stats) override
static constexpr auto RTTI
Definition: ZeroOverheadHeap.h:11
std::uint32_t GetPageSize() const override
std::uint32_t unk34
Definition: ZeroOverheadHeap.h:37
BSSpinLock unk2C
Definition: ZeroOverheadHeap.h:36
std::size_t memSize
Definition: ZeroOverheadHeap.h:31
std::uint32_t unk28
Definition: ZeroOverheadHeap.h:35
bool PointerInHeap(const void *a_pointer) const override
const char * name
Definition: ZeroOverheadHeap.h:32
bool ShouldTrySmallBlockPools(std::size_t a_size, MEM_CONTEXT a_context) override
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_ZeroOverheadHeap
Definition: Offsets_VTABLE.h:12984
constexpr REL::ID RTTI_ZeroOverheadHeap(static_cast< std::uint64_t >(690289))
Definition: IMemoryHeap.h:10
Definition: IMemoryStoreBase.h:6