You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Copying //UE4/Dev-RenderPlat-Staging@11388153 to //UE4/Main
#rb none #rnx [CL 11388545 by Rolando Caloca in Main branch]
This commit is contained in:
@@ -9,15 +9,12 @@ uint64 MemoryCheckpoint(const FString& Name)
|
||||
#if PLATFORM_WINDOWS
|
||||
return 0;
|
||||
#else
|
||||
TITLEMEMORYSTATUS TitleStatus;
|
||||
TitleStatus.dwLength = sizeof(TitleStatus);
|
||||
TitleMemoryStatus(&TitleStatus);
|
||||
uint64_t UsedPhysical = FPlatformMemory::GetMemoryUsedFast();
|
||||
|
||||
static uint64 PeakMemory = 0;
|
||||
|
||||
FMemoryCheckpoint Check;
|
||||
Check.Name = Name;
|
||||
uint64_t UsedPhysical = TitleStatus.ullLegacyUsed + TitleStatus.ullTitleUsed;
|
||||
static uint64_t FirstUsedPhysical = UsedPhysical;
|
||||
|
||||
Check.UsedPhysicalMB = UsedPhysical / double(1024 * 1024);
|
||||
|
||||
Reference in New Issue
Block a user