Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/HAL
Inheritance Hierarchy
- FUseSystemMallocForNew
- FExec
- FMalloc
- FMallocBinnedCommonBase
- TMallocBinnedCommon
- FMallocBinned2
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/HAL/MallocBinnedCommon.h |
| Include | #include "HAL/MallocBinnedCommon.h" |
Syntax
template<class AllocType, int NumSmallPools, int MaxSmallPoolSize>
class TMallocBinnedCommon : public FMallocBinnedCommonBase
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| uint32 | BoundSizeToPoolIndex
(
SIZE_T Size, |
||
| bool | GetAllocationSizeExternal
(
void* Ptr, |
||
| FCriticalSection & | |||
| TArray< FPerThreadFreeBlockLists * > & | |||
| int64 | |||
| bool | PromoteToLargerBin
(
SIZE_T& Size, |
||
| SIZE_T | QuantizeSizeCommon
(
SIZE_T Count, |
Overridden from FMalloc
| Type | Name | Description | |
|---|---|---|---|
| void | Clears the TLS caches on the current thread and disables any future caching. | ||
| void | Mark TLS caches for current thread as unused. | ||
| void | Mark TLS caches for the current thread as used. | ||
| void | Set up TLS caches on the current thread. These are the threads that we can trim. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FPerThreadFreeBlockLists | |||
| Internal |
Constants
| Name | Description |
|---|---|
| MAX_SMALL_POOL_SIZE | |
| NUM_SMALL_POOLS |