5#include "Containers/Array.h"
6#include "Containers/Map.h"
7#include "HAL/MallocCallstackHandler.h"
8#include "HAL/Platform.h"
19 virtual void Init()
override;
22
23
27
28
36 virtual void TrackMalloc(
void* Ptr, uint32 Size, int32 CallStackIndex);
37 virtual void TrackFree(
void* Ptr, uint32 OldSize, int32 CallStackIndex);
38 virtual void TrackRealloc(
void* OldPtr,
void* NewPtr, uint32 NewSize, uint32 OldSize, int32 CallStackIndex);
bool GMallocFrameProfilerEnabled
FMallocFrameProfiler * GMallocFrameProfiler
virtual void TrackFree(void *Ptr, uint32 OldSize, int32 CallStackIndex)
virtual bool Exec(UWorld *InWorld, const TCHAR *Cmd, FOutputDevice &Ar) override
TMap< void *, int32 > TrackedCurrentAllocations
virtual bool IsDisabled() override
virtual void Init() override
FMallocFrameProfiler(FMalloc *InMalloc)
virtual void TrackRealloc(void *OldPtr, void *NewPtr, uint32 NewSize, uint32 OldSize, int32 CallStackIndex)
TArray< FCallStackStats > CallStackStatsArray
static FMalloc * OverrideIfEnabled(FMalloc *InUsedAlloc)
virtual void UpdateStats() override
virtual void TrackMalloc(void *Ptr, uint32 Size, int32 CallStackIndex)