Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TMallocBinnedCommon
| Name | FPerThreadFreeBlockLists |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/HAL/MallocBinnedCommon.h |
| Include Path | #include "HAL/MallocBinnedCommon.h" |
Syntax
struct FPerThreadFreeBlockLists
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AllocatedMemory | int64 | HAL/MallocBinnedCommon.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bLockedByOwnerThread | bool | HAL/MallocBinnedCommon.h | ||
| FreeLists | FFreeBlockList | HAL/MallocBinnedCommon.h | ||
| MemoryTrimEpoch | uint64 | HAL/MallocBinnedCommon.h | ||
| Mutex | UE::FWordMutex | HAL/MallocBinnedCommon.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool CanFree
(
uint32 InPoolIndex, |
Return true if a pointer can be pushed | HAL/MallocBinnedCommon.h | |
bool Free
(
void* InPtr, |
Return true if the pointer was pushed | HAL/MallocBinnedCommon.h | |
void Lock() |
HAL/MallocBinnedCommon.h | ||
void * Malloc
(
uint32 InPoolIndex |
HAL/MallocBinnedCommon.h | ||
bool ObtainRecycledPartial
(
uint32 InPoolIndex, |
Returns true if we have anything to pop | HAL/MallocBinnedCommon.h | |
FBundleNode * PopBundles
(
uint32 InPoolIndex |
HAL/MallocBinnedCommon.h | ||
FBundleNode * RecycleFullBundle
(
uint32 InPoolIndex, |
Returns a bundle that needs to be freed if it can't be recycled | HAL/MallocBinnedCommon.h | |
bool TryLock() |
HAL/MallocBinnedCommon.h | ||
void Unlock() |
HAL/MallocBinnedCommon.h | ||
bool UpdateEpoch
(
uint64 NewEpoch |
Should only be called from inside the Lock. | HAL/MallocBinnedCommon.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void ClearTLS() |
HAL/MallocBinnedCommon.h | ||
static FPerThreadFreeBlockLists * Get() |
HAL/MallocBinnedCommon.h | ||
static void LockTLS() |
HAL/MallocBinnedCommon.h | ||
static void SetTLS() |
HAL/MallocBinnedCommon.h | ||
static void UnlockTLS() |
HAL/MallocBinnedCommon.h |