Ark Server API (ASA) - Wiki
|
#include <CachedOSPageAllocator.h>
Public Member Functions | |
TCachedOSPageAllocator () | |
FORCEINLINE void * | Allocate (SIZE_T Size, uint32 AllocationHint=0, FCriticalSection *Mutex=nullptr) |
void | Free (void *Ptr, SIZE_T Size, FCriticalSection *Mutex=nullptr, bool ThreadIsTimeCritical=false) |
void | FreeAll (FCriticalSection *Mutex=nullptr) |
void | Refresh () |
void | UpdateStats () |
uint64 | GetCachedFreeTotal () |
bool | IsOSAllocation (SIZE_T Size) |
Private Attributes | |
FFreePageBlock | FreedPageBlocks [NumCacheBlocks *2] |
SIZE_T | CachedTotal |
uint32 | FreedPageBlocksNum |
Additional Inherited Members | |
Private Member Functions inherited from FCachedOSPageAllocator | |
void * | AllocateImpl (SIZE_T Size, uint32 CachedByteLimit, FFreePageBlock *First, FFreePageBlock *Last, uint32 &FreedPageBlocksNum, SIZE_T &CachedTotal, FCriticalSection *Mutex) |
void | FreeImpl (void *Ptr, SIZE_T Size, uint32 NumCacheBlocks, uint32 CachedByteLimit, FFreePageBlock *First, uint32 &FreedPageBlocksNum, SIZE_T &CachedTotal, FCriticalSection *Mutex, bool ThreadIsTimeCritical) |
void | FreeAllImpl (FFreePageBlock *First, uint32 &FreedPageBlocksNum, SIZE_T &CachedTotal, FCriticalSection *Mutex) |
Static Private Member Functions inherited from FCachedOSPageAllocator | |
static bool | IsOSAllocation (SIZE_T Size, uint32 CachedByteLimit) |
Definition at line 35 of file CachedOSPageAllocator.h.
Definition at line 37 of file CachedOSPageAllocator.h.
|
inline |
Definition at line 43 of file CachedOSPageAllocator.h.
|
inline |
Definition at line 48 of file CachedOSPageAllocator.h.
|
inline |
Definition at line 52 of file CachedOSPageAllocator.h.
|
inline |
Definition at line 65 of file CachedOSPageAllocator.h.
|
inline |
Definition at line 70 of file CachedOSPageAllocator.h.
|
inline |
Definition at line 57 of file CachedOSPageAllocator.h.
|
inline |
Definition at line 61 of file CachedOSPageAllocator.h.
|
private |
Definition at line 77 of file CachedOSPageAllocator.h.
|
private |
Definition at line 76 of file CachedOSPageAllocator.h.
|
private |
Definition at line 78 of file CachedOSPageAllocator.h.