UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FGrowableMallocBase Class Reference

#include <GenericGrowableAllocator.h>

+ Inheritance diagram for FGrowableMallocBase:

Public Member Functions

 FGrowableMallocBase ()
 
virtual ~FGrowableMallocBase ()
 
virtual uint64 GetWasteApproximation ()
 

Protected Attributes

uint64 TotalAllocated
 
uint64 TotalWaste
 
uint64 CurrentAllocs
 
uint64 TotalAllocs
 

Constructor & Destructor Documentation

◆ FGrowableMallocBase()

FGrowableMallocBase::FGrowableMallocBase ( )
inline

Constructor

◆ ~FGrowableMallocBase()

virtual FGrowableMallocBase::~FGrowableMallocBase ( )
inlinevirtual

Member Function Documentation

◆ GetWasteApproximation()

virtual uint64 FGrowableMallocBase::GetWasteApproximation ( )
inlinevirtual

Returns approximated amount of memory wasted due to allocations' alignment.

Member Data Documentation

◆ CurrentAllocs

uint64 FGrowableMallocBase::CurrentAllocs
protected

The current number of allocations.

◆ TotalAllocated

uint64 FGrowableMallocBase::TotalAllocated
protected

Total amount ever allocated

◆ TotalAllocs

uint64 FGrowableMallocBase::TotalAllocs
protected

The total number of allocations.

◆ TotalWaste

uint64 FGrowableMallocBase::TotalWaste
protected

The total amount of memory wasted due to allocations' alignment.


The documentation for this class was generated from the following file: