Navigation
API > API/Runtime > API/Runtime/Core
| Name | FTraceMalloc |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/ProfilingDebugging/TraceMalloc.h |
| Include Path | #include "ProfilingDebugging/TraceMalloc.h" |
Syntax
class FTraceMalloc : public FMalloc
Inheritance Hierarchy
- FExec → FMalloc → FTraceMalloc
- FUseSystemMallocForNew → FMalloc → FTraceMalloc
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTraceMalloc
(
FMalloc* InMalloc |
ProfilingDebugging/TraceMalloc.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FTraceMalloc() |
ProfilingDebugging/TraceMalloc.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| WrappedMalloc | FMalloc * | ProfilingDebugging/TraceMalloc.h |
Functions
Public
Overridden from FMalloc
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Free
(
void* Original |
Free | ProfilingDebugging/TraceMalloc.h | |
virtual void * Malloc
(
SIZE_T Count, |
Malloc | ProfilingDebugging/TraceMalloc.h | |
virtual void OnMallocInitialized() |
Notifies the malloc implementation that initialization of all allocators in GMalloc is complete, so it's safe to initialize any extra features that require "regular" allocations | ProfilingDebugging/TraceMalloc.h | |
virtual void OnPostFork() |
Notifies the malloc implementation that the process has forked so we can try and avoid dirtying pre-fork pages. | ProfilingDebugging/TraceMalloc.h | |
virtual void OnPreFork () |
Notifies the malloc implementation that the process is about to fork. | ProfilingDebugging/TraceMalloc.h | |
virtual void * Realloc
(
void* Original, |
Realloc | ProfilingDebugging/TraceMalloc.h |