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