FMallocFrameProfiler

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/HAL/MallocFrameProfiler.h

Include

#include "HAL/MallocFrameProfiler.h"

Syntax

class FMallocFrameProfiler : public FMallocCallstackHandler

Variables

Name Description

Protected variable

bool

 

bEnabled

Protected variable

TArray< FCallSt...

 

CallStackStatsArray

Protected variable

uint32

 

EntriesToOutput

Protected variable

uint32

 

FrameCount

Protected variable

TMap< void *...

 

TrackedCurrentAllocations

Constructors

Name Description

Public function

FMallocFrameProfiler

(
    FMalloc* InMalloc
)

Functions

Name Description

Public function Static

FMalloc *...

 

OverrideIfEnabled

(
    FMalloc* InUsedAlloc
)

Protected function Virtual

void

 

TrackRealloc

(
    void* OldPtr,
    void* NewPtr,
    uint32 NewSize,
    uint32 OldSize,
    int32 CallStackIndex
)

Overridden from FMallocCallstackHandler

Name Description

Public function Virtual

void

 

Init()

Protected function Virtual

bool

 

IsDisabled()

Protected function Virtual

void

 

TrackFree

(
    void* Ptr,
    uint32 OldSize,
    int32 CallStackIndex
)

Protected function Virtual

void

 

TrackMalloc

(
    void* Ptr,
    uint32 Size,
    int32 CallStackIndex
)

Overridden from FMalloc

Name Description

Public function Virtual

void

 

UpdateStats()

Called once per frame, gathers and sets all memory allocator statistics into the corresponding stats.

Overridden from FExec

Name Description

Public function Virtual

bool

 

Exec

(
    UWorld* InWorld,
    const TCHAR* Cmd,
    FOutputDevice& Ar
)

Handles any commands passed in on the command line

Classes

Name

Description

Protected struct

FCallStackStats

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