FScopedMemoryStats

This will grab the memory stats of VM and Physcial before and at the end of scope reporting +/- difference in memory.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/HAL/PlatformMemory.h

Include

#include "HAL/PlatformMemory.h"

Syntax

class FScopedMemoryStats

Remarks

This will grab the memory stats of VM and Physcial before and at the end of scope reporting +/- difference in memory. WARNING This will also capture differences in Threads which have nothing to do with the scope

Constructors

Name Description

Public function

FScopedMemoryStats

(
    const TCHAR* Name
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss