Navigation
API > API/Runtime > API/Runtime/CoreUObject
Analyzes memory usage of UObjects
| Name | FObjectMemoryAnalyzer |
| Type | struct |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/ObjectMemoryAnalyzer.h |
| Include Path | #include "UObject/ObjectMemoryAnalyzer.h" |
Syntax
struct FObjectMemoryAnalyzer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FObjectMemoryAnalyzer
(
uint32 Flags |
UObject/ObjectMemoryAnalyzer.h | ||
FObjectMemoryAnalyzer
(
UClass* BaseClass, |
UObject/ObjectMemoryAnalyzer.h | ||
FObjectMemoryAnalyzer
(
UObject* Object, |
UObject/ObjectMemoryAnalyzer.h | ||
FObjectMemoryAnalyzer
(
const TArray< class UObject* >& ObjectList, |
UObject/ObjectMemoryAnalyzer.h |
Structs
| Name | Remarks |
|---|---|
| EAnalyzeFlags | Flags to modify the memory counting behavior |
| EPrintFlags | |
| ESortKey | |
| FCompareFSortBySize |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AnalyzeFlags | uint32 | Flags to modify mem counting behavior | UObject/ObjectMemoryAnalyzer.h | |
| BaseClass | UClass * | All objects of this class will be analyzed | UObject/ObjectMemoryAnalyzer.h | |
| MemUsageAnnotations | FUObjectAnnotationDense< FObjectMemoryUsage, true > | Anootations containing the gathered data | UObject/ObjectMemoryAnalyzer.h | |
| ObjectList | TArray< UObject * > | List of objects which memory usage should be analyzed | UObject/ObjectMemoryAnalyzer.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AnalyzeObject
(
UObject* Object |
Analyzes the memory usage of the specified object | UObject/ObjectMemoryAnalyzer.h | |
void AnalyzeObjects
(
const TArray< class UObject* >& ObjectList |
Analyzes the memory usage of the specified object list | UObject/ObjectMemoryAnalyzer.h | |
void AnalyzeObjects
(
UClass* BaseClass |
Analyzes the memory usage of all objects with the specified class | UObject/ObjectMemoryAnalyzer.h | |
const FObjectMemoryUsage & GetObjectMemoryUsage
(
UObject* Obj |
Returns the memory usage of an object not in the result set ( ex. referenced by a result ) | UObject/ObjectMemoryAnalyzer.h | |
int32 GetResults
(
TArray< FObjectMemoryUsage >& Results |
Returns the results | UObject/ObjectMemoryAnalyzer.h | |
void PrintResults
(
FOutputDevice& Ar, |
UObject/ObjectMemoryAnalyzer.h |