![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MemStack.h>
Public Types | |
| enum | { PageSize = 64 * 1024 , SmallPageSize = 1024-16 } |
| typedef TLockFreeFixedSizeAllocator< PageSize, PLATFORM_CACHE_LINE_SIZE, FThreadSafeCounter > | TPageAllocator |
Public Member Functions | |
| CORE_API | ~FPageAllocator () |
| CORE_API void * | Alloc (int32 Alignment=MIN_ALIGNMENT) |
| CORE_API void | Free (void *Mem) |
| CORE_API void * | AllocSmall () |
| CORE_API void | FreeSmall (void *Mem) |
| CORE_API uint64 | BytesUsed () |
| CORE_API uint64 | BytesFree () |
| CORE_API void | LatchProtectedMode () |
Static Public Member Functions | |
| static CORE_API FPageAllocator & | Get () |
| typedef TLockFreeFixedSizeAllocator<PageSize, PLATFORM_CACHE_LINE_SIZE, FThreadSafeCounter> FPageAllocator::TPageAllocator |
| FPageAllocator::~FPageAllocator | ( | ) |
| void * FPageAllocator::Alloc | ( | int32 | Alignment = MIN_ALIGNMENT | ) |
| void * FPageAllocator::AllocSmall | ( | ) |
| uint64 FPageAllocator::BytesFree | ( | ) |
| uint64 FPageAllocator::BytesUsed | ( | ) |
|
static |
| void FPageAllocator::LatchProtectedMode | ( | ) |