Navigation
API > API/Runtime > API/Runtime/Core
Unix implementation of the memory OS functions
| Name | FUnixPlatformMemory |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Unix/UnixPlatformMemory.h |
| Include Path | #include "Unix/UnixPlatformMemory.h" |
Syntax
struct FUnixPlatformMemory : public FGenericPlatformMemory
Inheritance Hierarchy
- FGenericPlatformMemory → FUnixPlatformMemory
Classes
| Name | Remarks |
|---|---|
| FPlatformVirtualMemoryBlock |
Structs
| Name | Remarks |
|---|---|
| FUnixSharedMemoryRegion | Unix representation of a shared memory region |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FMalloc * BaseAllocator() |
Unix/UnixPlatformMemory.h | ||
static void * BinnedAllocFromOS
(
SIZE_T Size |
Unix/UnixPlatformMemory.h | ||
static void BinnedFreeToOS
(
void* Ptr, |
Unix/UnixPlatformMemory.h | ||
static bool CanOverallocateVirtualMemory() |
Unix/UnixPlatformMemory.h | ||
static const FPlatformMemoryConstants & GetConstants() |
Unix/UnixPlatformMemory.h | ||
static FExtendedPlatformMemoryStats GetExtendedStats() |
Unix/UnixPlatformMemory.h | ||
static bool GetForkedPageAllocationInfo
(
TArray< FForkedPageAllocation >& OutPageAllocationInfos |
Unix/UnixPlatformMemory.h | ||
static bool GetLLMAllocFunctions
(
void*(*&)(size_t) OutAllocFunction, |
LLM uses these low level functions (LLMAlloc and LLMFree) to allocate memory. | Unix/UnixPlatformMemory.h | |
static FPlatformMemoryStats GetStats() |
Unix/UnixPlatformMemory.h | ||
static bool HasForkPageProtectorEnabled() |
Unix/UnixPlatformMemory.h | ||
static void Init() |
Unix/UnixPlatformMemory.h | ||
static FSharedMemoryRegion * MapNamedSharedMemoryRegion
(
const FString& InName, |
Unix/UnixPlatformMemory.h | ||
static void OnOutOfMemory
(
uint64 Size, |
Unix/UnixPlatformMemory.h | ||
static bool PageProtect
(
void*const Ptr, |
Unix/UnixPlatformMemory.h | ||
static bool UnmapNamedSharedMemoryRegion
(
FSharedMemoryRegion* MemoryRegion |
Unix/UnixPlatformMemory.h |