UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TCachedOSPageAllocator< NumCacheBlocks, CachedByteLimit > Struct Template Reference

#include <CachedOSPageAllocator.h>

+ Inheritance diagram for TCachedOSPageAllocator< NumCacheBlocks, CachedByteLimit >:

Public Member Functions

 TCachedOSPageAllocator ()
 
UE_FORCEINLINE_HINT voidAllocate (SIZE_T Size, uint32 AllocationHint=0, UE::FPlatformRecursiveMutex *Mutex=nullptr)
 
void Free (void *Ptr, SIZE_T Size, UE::FPlatformRecursiveMutex *Mutex=nullptr, bool ThreadIsTimeCritical=false)
 
void FreeAll (UE::FPlatformRecursiveMutex *Mutex=nullptr)
 
void Refresh ()
 
void UpdateStats ()
 
uint64 GetCachedFreeTotal () const
 
uint64 GetCachedImmediatelyFreeable () const
 
bool IsOSAllocation (SIZE_T Size)
 
void DumpAllocatorStats (class FOutputDevice &Ar)
 

Constructor & Destructor Documentation

◆ TCachedOSPageAllocator()

template<uint32 NumCacheBlocks, uint32 CachedByteLimit>
TCachedOSPageAllocator< NumCacheBlocks, CachedByteLimit >::TCachedOSPageAllocator ( )
inline

Member Function Documentation

◆ Allocate()

template<uint32 NumCacheBlocks, uint32 CachedByteLimit>
UE_FORCEINLINE_HINT void * TCachedOSPageAllocator< NumCacheBlocks, CachedByteLimit >::Allocate ( SIZE_T  Size,
uint32  AllocationHint = 0,
UE::FPlatformRecursiveMutex Mutex = nullptr 
)
inline

◆ DumpAllocatorStats()

template<uint32 NumCacheBlocks, uint32 CachedByteLimit>
void TCachedOSPageAllocator< NumCacheBlocks, CachedByteLimit >::DumpAllocatorStats ( class FOutputDevice Ar)
inline

◆ Free()

template<uint32 NumCacheBlocks, uint32 CachedByteLimit>
void TCachedOSPageAllocator< NumCacheBlocks, CachedByteLimit >::Free ( void Ptr,
SIZE_T  Size,
UE::FPlatformRecursiveMutex Mutex = nullptr,
bool  ThreadIsTimeCritical = false 
)
inline

◆ FreeAll()

template<uint32 NumCacheBlocks, uint32 CachedByteLimit>
void TCachedOSPageAllocator< NumCacheBlocks, CachedByteLimit >::FreeAll ( UE::FPlatformRecursiveMutex Mutex = nullptr)
inline

◆ GetCachedFreeTotal()

template<uint32 NumCacheBlocks, uint32 CachedByteLimit>
uint64 TCachedOSPageAllocator< NumCacheBlocks, CachedByteLimit >::GetCachedFreeTotal ( ) const
inline

◆ GetCachedImmediatelyFreeable()

template<uint32 NumCacheBlocks, uint32 CachedByteLimit>
uint64 TCachedOSPageAllocator< NumCacheBlocks, CachedByteLimit >::GetCachedImmediatelyFreeable ( ) const
inline

◆ IsOSAllocation()

template<uint32 NumCacheBlocks, uint32 CachedByteLimit>
bool TCachedOSPageAllocator< NumCacheBlocks, CachedByteLimit >::IsOSAllocation ( SIZE_T  Size)
inline

◆ Refresh()

template<uint32 NumCacheBlocks, uint32 CachedByteLimit>
void TCachedOSPageAllocator< NumCacheBlocks, CachedByteLimit >::Refresh ( )
inline

◆ UpdateStats()

template<uint32 NumCacheBlocks, uint32 CachedByteLimit>
void TCachedOSPageAllocator< NumCacheBlocks, CachedByteLimit >::UpdateStats ( )
inline

The documentation for this struct was generated from the following file: