Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/GenericPlatform
Inheritance Hierarchy
- FGenericPlatformMemoryConstants
- FGenericPlatformMemoryStats
- FPlatformMemoryStats
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
Type | Name | Description | |
---|---|---|---|
![]() |
uint64 | AvailablePhysical | The amount of physical memory currently available, in bytes. |
![]() |
uint64 | AvailableVirtual | The amount of virtual memory currently available, in bytes. |
![]() |
uint64 | PeakUsedPhysical | The peak amount of physical memory used by the process, in bytes. |
![]() |
uint64 | PeakUsedVirtual | The peak amount of virtual memory used by the process. |
![]() |
uint64 | UsedPhysical | The amount of physical memory used by the process, in bytes. |
![]() |
uint64 | UsedVirtual | Total amount of virtual memory used by the process. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Default constructor, clears all variables. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
uint64 | GetAvailablePhysical
(
bool bExcludeExtraDevMemory |
|
![]() ![]() |
EMemoryPressureStatus | ||
![]() ![]() |
TArray< FPlatformSpecificStat > | ||
![]() ![]() |
void | Called by FCsvProfiler::EndFrame to set platform specific CSV stats. |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FPlatformSpecificStat |
Enums
Type | Name | Description | |
---|---|---|---|
![]() |
EMemoryPressureStatus | Memory pressure states, useful for platforms in which the available memory estimate may not take in to account memory reclaimable from closing inactive processes or resorting to swap. |