Struct used to hold common memory stats for all platforms. 更多...
#include <GenericPlatformMemory.h>
类 FGenericPlatformMemoryStats 继承关系图:Public 成员函数 | |
| FGenericPlatformMemoryStats () | |
| Default constructor, clears all variables. | |
Public 成员函数 继承自 FGenericPlatformMemoryConstants | |
| FGenericPlatformMemoryConstants () | |
| Default constructor, clears all variables. | |
| FGenericPlatformMemoryConstants (const FGenericPlatformMemoryConstants &Other) | |
| Copy constructor, used by the generic platform memory stats. | |
Public 属性 | |
| 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. | |
Public 属性 继承自 FGenericPlatformMemoryConstants | |
| SIZE_T | BinnedAllocationGranularity |
| This is the "allocation granularity" in Binned malloc terms, i.e. 更多... | |
| SIZE_T | BinnedPageSize |
| The size of a "page" in Binned2 malloc terms, in bytes. 更多... | |
| SIZE_T | OsAllocationGranularity |
| Some platforms have advantages if memory is allocated in chunks larger than PageSize (e.g. 更多... | |
| SIZE_T | PageSize |
| The size of a physical page, in bytes. 更多... | |
| uint64 | TotalPhysical |
| The amount of actual physical memory, in bytes (needs to handle >4GB for 64-bit devices running 32-bit code). | |
| uint32 | TotalPhysicalGB |
| Approximate physical RAM in GB; 1 on everything except PC. 更多... | |
| uint64 | TotalVirtual |
| The amount of virtual memory, in bytes. | |
Struct used to hold common memory stats for all platforms.
These values may change over the entire life of the executable.