9#if !defined(UE_MEMORY_TRACE_AVAILABLE)
10# define UE_MEMORY_TRACE_AVAILABLE 0
13#if !defined(UE_MEMORY_TRACE_LATE_INIT)
14# define UE_MEMORY_TRACE_LATE_INIT 0
17#if !defined(UE_MEMORY_TRACE_ENABLED) && UE_TRACE_ENABLED
18# if UE_MEMORY_TRACE_AVAILABLE
19# if !PLATFORM_USES_FIXED_GMalloc_CLASS && PLATFORM_64BITS
20# define UE_MEMORY_TRACE_ENABLED !UE_BUILD_SHIPPING
25#if !defined(UE_MEMORY_TRACE_ENABLED)
26# define UE_MEMORY_TRACE_ENABLED 0
89#if UE_MEMORY_TRACE_ENABLED
91#define UE_MEMORY_TRACE(x) x
194#define UE_MEMORY_TRACE(x)
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define ENUM_CLASS_FLAGS(Enum)
Definition EnumClassFlags.h:6
HeapId MemoryTrace_RootHeapSpec(const TCHAR *Name, EMemoryTraceHeapFlags Flags=EMemoryTraceHeapFlags::None)
Definition MemoryTrace.h:195
void MemoryTrace_MarkAllocAsHeap(uint64 Address, HeapId Heap)
Definition MemoryTrace.h:197
void MemoryTrace_SwapOp(uint64 PageAddress, EMemoryTraceSwapOperation SwapOperation, uint32 CompressedSize=0, uint32 CallstackId=0)
Definition MemoryTrace.h:204
HeapId MemoryTrace_HeapSpec(HeapId ParentId, const TCHAR *Name, EMemoryTraceHeapFlags Flags=EMemoryTraceHeapFlags::None)
Definition MemoryTrace.h:196
void MemoryTrace_UpdateAlloc(uint64 Address, HeapId RootHeap=EMemoryTraceRootHeap::SystemMemory, uint32 ExternalCallstackId=0)
Definition MemoryTrace.h:203
class FMalloc * MemoryTrace_GetAllocator()
Definition MemoryTrace.h:205
EMemoryTraceSwapOperation
Definition MemoryTrace.h:65
void MemoryTrace_Free(uint64 Address, HeapId RootHeap=EMemoryTraceRootHeap::SystemMemory, uint32 ExternalCallstackId=0)
Definition MemoryTrace.h:200
void MemoryTrace_ReallocAlloc(uint64 Address, uint64 NewSize, uint32 Alignment, HeapId RootHeap=EMemoryTraceRootHeap::SystemMemory, uint32 ExternalCallstackId=0)
Definition MemoryTrace.h:202
uint32 HeapId
Definition MemoryTrace.h:30
EMemoryTraceHeapFlags
Definition MemoryTrace.h:45
EMemoryTraceRootHeap
Definition MemoryTrace.h:34
@ SystemMemory
Definition MemoryTrace.h:35
@ EndHardcoded
Definition MemoryTrace.h:37
@ EndReserved
Definition MemoryTrace.h:38
@ VideoMemory
Definition MemoryTrace.h:36
EMemoryTraceInit
Definition MemoryTrace.h:76
EMemoryTraceHeapAllocationFlags
Definition MemoryTrace.h:56
void MemoryTrace_UnmarkAllocAsHeap(uint64 Address, HeapId Heap)
Definition MemoryTrace.h:198
void MemoryTrace_Alloc(uint64 Address, uint64 Size, uint32 Alignment, HeapId RootHeap=EMemoryTraceRootHeap::SystemMemory, uint32 ExternalCallstackId=0)
Definition MemoryTrace.h:199
void MemoryTrace_ReallocFree(uint64 Address, HeapId RootHeap=EMemoryTraceRootHeap::SystemMemory, uint32 ExternalCallstackId=0)
Definition MemoryTrace.h:201
#define UE_TRACE_CHANNEL_EXTERN(ChannelName,...)
Definition Trace.h:448
uint32 Size
Definition VulkanMemory.cpp:4034
Definition MemoryBase.h:99