UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MallocLeakReporter.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "Engine/Engine.h"
9#include "Containers/Ticker.h"
10
11
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition Platform.h:1135
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define DECLARE_MULTICAST_DELEGATE_TwoParams(DelegateName, Param1Type, Param2Type)
Definition DelegateCombinations.h:58
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition MallocLeakReporter.h:38
FTSTicker::FDelegateHandle CheckpointTicker
Definition MallocLeakReporter.h:128
bool Enabled
Definition MallocLeakReporter.h:126
ENGINE_API void Stop()
Definition MallocLeakReporter.cpp:70
ENGINE_API void Checkpoint()
Definition MallocLeakReporter.cpp:98
ENGINE_API void Clear()
Definition MallocLeakReporter.cpp:91
void SetDefaultAllocReportOptions(const FMallocLeakReportOptions &Options)
Definition MallocLeakReporter.h:109
ENGINE_API void Start(int32 FilterSize=0, float ReportOnTime=0.0f)
Definition MallocLeakReporter.cpp:32
void SetDefaultLeakReportOptions(const FMallocLeakReportOptions &Options)
Definition MallocLeakReporter.h:98
ENGINE_API int32 WriteReports(const uint32 ReportFlags=EReportOption::ReportAll)
Definition MallocLeakReporter.cpp:107
ENGINE_API FMallocLeakReporter()
Definition MallocLeakReporter.cpp:17
FTSTicker::FDelegateHandle ReportTicker
Definition MallocLeakReporter.h:129
bool IsEnabled() const
Definition MallocLeakReporter.h:80
FMallocLeakReportDelegate ReportDelegate
Definition MallocLeakReporter.h:130
FMallocLeakReportOptions DefaultLeakReportOptions
Definition MallocLeakReporter.h:133
int32 ReportCount
Definition MallocLeakReporter.h:127
static ENGINE_API FMallocLeakReporter & Get()
Definition MallocLeakReporter.cpp:11
ENGINE_API int32 WriteReport(const TCHAR *ReportName, const FMallocLeakReportOptions &Options)
Definition MallocLeakReporter.cpp:149
FMallocLeakReportOptions DefaultAllocReportOptions
Definition MallocLeakReporter.h:134
Definition MallocLeakDetection.h:29
Definition MallocLeakReporter.h:43
@ ReportAll
Definition MallocLeakReporter.h:50
@ ReportAllocs
Definition MallocLeakReporter.h:47
@ ReportMemReport
Definition MallocLeakReporter.h:48
@ ReportLeaks
Definition MallocLeakReporter.h:46