FGrowableMallocBase

A base class for both the classes below, for usage tracking only

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/GenericGrowableAllocator.h

Include

#include "Misc/GenericGrowableAllocator.h"

Syntax

class FGrowableMallocBase

Remarks

A base class for both the classes below, for usage tracking only

Variables

Name Description

Protected variable

uint64

 

CurrentAllocs

The current number of allocations.

Protected variable

uint64

 

TotalAllocated

Total amount ever allocated

Protected variable

uint64

 

TotalAllocs

The total number of allocations.

Protected variable

uint64

 

TotalWaste

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

Constructors

Name Description

Public function

FGrowableMallocBase()

Constructor

Destructors

Name Description

Public function Virtual

~FGrowableMallocBase()

Functions

Name Description

Public function Virtual

uint64

 

GetWasteApproximation()

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss