Ark Server API (ASA) - Wiki
|
#include <GenericPlatformMemory.h>
Classes | |
struct | FPlatformSpecificStat |
Public Types | |
enum class | EMemoryPressureStatus : uint8 { Unknown , Nominal , Critical } |
Public Member Functions | |
EMemoryPressureStatus | GetMemoryPressureStatus () const |
FGenericPlatformMemoryStats () | |
TArray< FPlatformSpecificStat > | GetPlatformSpecificStats () const |
uint64 | GetAvailablePhysical (bool bExcludeExtraDevMemory) const |
void | SetEndFrameCsvStats () const |
Public Member Functions inherited from FGenericPlatformMemoryConstants | |
FGenericPlatformMemoryConstants () | |
FGenericPlatformMemoryConstants (const FGenericPlatformMemoryConstants &Other) | |
Struct used to hold common memory stats for all platforms. These values may change over the entire life of the executable.
Definition at line 134 of file GenericPlatformMemory.h.
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.
Enumerator | |
---|---|
Unknown | |
Nominal | |
Critical |
Definition at line 156 of file GenericPlatformMemory.h.
FGenericPlatformMemoryStats::FGenericPlatformMemoryStats | ( | ) |
Default constructor, clears all variables.
EMemoryPressureStatus FGenericPlatformMemoryStats::GetMemoryPressureStatus | ( | ) | const |
TArray< FPlatformSpecificStat > FGenericPlatformMemoryStats::GetPlatformSpecificStats | ( | ) | const |
|
inline |
Called by FCsvProfiler::EndFrame to set platform specific CSV stats.
Definition at line 183 of file GenericPlatformMemory.h.
uint64 FGenericPlatformMemoryStats::AvailablePhysical |
The amount of physical memory currently available, in bytes.
Definition at line 137 of file GenericPlatformMemory.h.
uint64 FGenericPlatformMemoryStats::AvailableVirtual |
The amount of virtual memory currently available, in bytes.
Definition at line 140 of file GenericPlatformMemory.h.
uint64 FGenericPlatformMemoryStats::PeakUsedPhysical |
The peak amount of physical memory used by the process, in bytes.
Definition at line 146 of file GenericPlatformMemory.h.
uint64 FGenericPlatformMemoryStats::PeakUsedVirtual |
The peak amount of virtual memory used by the process.
Definition at line 152 of file GenericPlatformMemory.h.
uint64 FGenericPlatformMemoryStats::UsedPhysical |
The amount of physical memory used by the process, in bytes.
Definition at line 143 of file GenericPlatformMemory.h.
uint64 FGenericPlatformMemoryStats::UsedVirtual |
Total amount of virtual memory used by the process.
Definition at line 149 of file GenericPlatformMemory.h.