Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/HAL
Inheritance Hierarchy
- FUseSystemMallocForNew
- FExec
- FMalloc
- FMallocCallstackHandler
- FMallocFrameProfiler
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/HAL/MallocFrameProfiler.h |
| Include | #include "HAL/MallocFrameProfiler.h" |
Syntax
class FMallocFrameProfiler : public FMallocCallstackHandler
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bEnabled | ||
| TArray< FCallStackStats > | CallStackStatsArray | ||
| uint32 | EntriesToOutput | ||
| uint32 | FrameCount | ||
| TMap< void *, int32 > | TrackedCurrentAllocations |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMallocFrameProfiler
(
FMalloc* InMalloc |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FMalloc * | OverrideIfEnabled
(
FMalloc* InUsedAlloc |
Overridden from FMallocCallstackHandler
| Type | Name | Description | |
|---|---|---|---|
| void | Init () |
||
| bool | IsDisabled () |
||
| void | |||
| void | TrackMalloc
(
void* Ptr, |
||
| void | TrackRealloc
(
void* OldPtr, |
Overridden from FMalloc
| Type | Name | Description | |
|---|---|---|---|
| void | UpdateStats () |
Called once per frame, gathers and sets all memory allocator statistics into the corresponding stats. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FCallStackStats |