TCachedOSPageAllocator

Windows
MacOS
Linux

Inheritance Hierarchy

FCachedOSPageAllocator

TCachedOSPageAllocator

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/HAL/Allocators/CachedOSPageAllocator.h

Include

#include "HAL/Allocators/CachedOSPageAllocator.h"

Syntax

template<uint32 NumCacheBlocks, uint32 CachedByteLimit>
struct TCachedOSPageAllocator : private FCachedOSPageAllocator

Constructors

Name Description

Public function

TCachedOSPageAllocator()

Functions

Name Description

Public function

void *

 

Allocate

(
    SIZE_T Size,
    uint32 AllocationHint,
    FCriticalSection* Mutex
)

Public function

void

 

Free

(
    void* Ptr,
    SIZE_T Size,
    FCriticalSection* Mutex
)

Public function

void

 

FreeAll

(
    FCriticalSection* Mutex
)

Public function

uint64

 

GetCachedFreeTotal()

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