Navigation
API > API/Runtime > API/Runtime/Core
| Name | TCachedOSPageAllocator |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/HAL/Allocators/CachedOSPageAllocator.h |
| Include Path | #include "HAL/Allocators/CachedOSPageAllocator.h" |
Syntax
template<uint32 NumCacheBlocks, uint32 CachedByteLimit>
struct TCachedOSPageAllocator : private FCachedOSPageAllocator
Inheritance Hierarchy
- FCachedOSPageAllocator → TCachedOSPageAllocator
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TCachedOSPageAllocator() |
HAL/Allocators/CachedOSPageAllocator.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CachedTotal | SIZE_T | HAL/Allocators/CachedOSPageAllocator.h | ||
| FreedPageBlocks | FFreePageBlock | HAL/Allocators/CachedOSPageAllocator.h | ||
| FreedPageBlocksNum | uint32 | HAL/Allocators/CachedOSPageAllocator.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void * Allocate
(
SIZE_T Size, |
HAL/Allocators/CachedOSPageAllocator.h | ||
void DumpAllocatorStats
(
FOutputDevice& Ar |
HAL/Allocators/CachedOSPageAllocator.h | ||
void Free
(
void* Ptr, |
HAL/Allocators/CachedOSPageAllocator.h | ||
void FreeAll
(
UE::FPlatformRecursiveMutex* Mutex |
HAL/Allocators/CachedOSPageAllocator.h | ||
uint64 GetCachedFreeTotal() |
HAL/Allocators/CachedOSPageAllocator.h | ||
uint64 GetCachedImmediatelyFreeable() |
HAL/Allocators/CachedOSPageAllocator.h | ||
bool IsOSAllocation
(
SIZE_T Size |
HAL/Allocators/CachedOSPageAllocator.h | ||
void Refresh() |
Refresh cached os allocator if needed. Does nothing for this implementation. | HAL/Allocators/CachedOSPageAllocator.h | |
void UpdateStats() |
HAL/Allocators/CachedOSPageAllocator.h |