FGenericPlatformMemoryStats

Struct used to hold common memory stats for all platforms.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMemory.h

Include

#include "GenericPlatform/GenericPlatformMemory.h"

Syntax

struct FGenericPlatformMemoryStats : public FGenericPlatformMemoryConstants

Remarks

Struct used to hold common memory stats for all platforms. These values may change over the entire life of the executable.

Variables

Name Description

Public variable

uint64

 

AvailablePhysical

The amount of physical memory currently available, in bytes.

Public variable

uint64

 

AvailableVirtual

The amount of virtual memory currently available, in bytes.

Public variable

uint64

 

PeakUsedPhysical

The peak amount of physical memory used by the process, in bytes.

Public variable

uint64

 

PeakUsedVirtual

The peak amount of virtual memory used by the process.

Public variable

uint64

 

UsedPhysical

The amount of physical memory used by the process, in bytes.

Public variable

uint64

 

UsedVirtual

Total amount of virtual memory used by the process.

Constructors

Name Description

Public function

FGenericPlatformMemoryStats()

Default constructor, clears all variables.

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