16 std::size_t
Size(
const void* a_block)
const override;
21 void*
Allocate(std::size_t a_size, std::uint32_t a_alignment)
override;
22 void Deallocate(
void* a_pointer, std::uint32_t)
override;
24 std::size_t
TotalSize(
const void* a_pointer)
const override;
Definition: BSAtomic.h:49
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
void * nextFreeMem
Definition: ZeroOverheadHeap.h:33
void GetHeapStats(HeapStats *a_stats, bool a_fullBlockInfo) override
bool ContainsBlockImpl(const void *a_block) const override
void * AllocateAlignImpl(std::size_t a_size, std::uint32_t a_alignment) override
std::size_t TotalSize(const void *a_pointer) const override
void * memoryBase
Definition: ZeroOverheadHeap.h:32
~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:36
BSSpinLock unk2C
Definition: ZeroOverheadHeap.h:35
std::size_t memSize
Definition: ZeroOverheadHeap.h:30
std::uint32_t unk28
Definition: ZeroOverheadHeap.h:34
bool PointerInHeap(const void *a_pointer) const override
const char * name
Definition: ZeroOverheadHeap.h:31
const char * GetName() const override
void * Allocate(std::size_t a_size, std::uint32_t a_alignment) override
bool ShouldTrySmallBlockPools(std::size_t a_size, MEM_CONTEXT a_context) override
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_ZeroOverheadHeap
Definition: Offsets_RTTI.h:6156
Definition: IMemoryHeap.h:10
Definition: IMemoryStoreBase.h:6