FUnixPlatformMemory

Unix implementation of the memory OS functions

Windows
MacOS
Linux

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

Name Description

Public function Static

FMalloc *...

 

BaseAllocator()

Public function Static

void *

 

BinnedAllocFromOS

(
    SIZE_T Size
)

Public function Static

void

 

BinnedFreeToOS

(
    void* Ptr,
    SIZE_T Size
)

Public function Static

const FPlatf...

 

GetConstants()

Public function Static

FExtendedPla...

 

GetExtendedStats()

Public function Static

bool

 

GetLLMAllocFunctions

(
    void*(*&)(size_t) OutAlloc...,
    void*, size_t) Ou...,
    int32& OutAlignment
)

LLM uses these low level functions (LLMAlloc and LLMFree) to allocate memory.

Public function Static

FPlatformMem...

 

GetStats()

Public function Static

bool

 

HasForkPageProtectorEnabled()

Public function Static

void

 

Init()

Public function Static

FSharedMemor...

 

MapNamedSharedMemoryRegion

(
    const FString& InName,
    bool bCreate,
    uint32 AccessMode,
    SIZE_T Size
)

Public function Static

void

 

OnOutOfMemory

(
    uint64 Size,
    uint32 Alignment
)

Public function Static

bool

 

PageProtect

(
    void*const Ptr,
    const SIZE_T Size,
    const bool bCanRead,
    const bool bCanWrite
)

Public function Static

bool

 

UnmapNamedSharedMemoryRegion

(
    FSharedMemoryRegion* MemoryReg...
)

Classes

Name

Description

Public class

FPlatformVirtualMemoryBlock

Public struct

FUnixSharedMemoryRegion

Unix representation of a shared memory region

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss