| FUseSystemMallocForNew | ||||
| FExec
|
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/HAL/MallocBinned.h |
Include |
#include "HAL/MallocBinned.h" |
class FMallocBinned : public FMalloc
Malloc binned allocator specific stats. Optimized virtual memory allocator.
Name | Description | |
---|---|---|
|
FMallocBinned |
InPageSize - First parameter is page size, all allocs from BinnedAllocFromOS() MUST be aligned to this size AddressLimit - Second parameter is estimate of the range of addresses expected to be returns by BinnedAllocFromOS(). |
Name | Description | |
---|---|---|
|
~FMallocBinned() |
Name | Description | ||
---|---|---|---|
|
DumpAllocatorStats ( |
Dumps allocator stats to an output device. Subclasses should override to add additional info |
|
|
Free ( |
Free |
|
|
GetAllocationSize |
If possible determine the size of the memory allocated at the given address |
|
|
GetAllocatorStats ( |
Writes allocator stats from the last update into the specified destination. |
|
|
const TCHAR ... |
GetDescriptiveName() |
Gets descriptive name for logging purposes. |
|
InitializeStatsMetadata() |
Initializes stats metadata. |
|
|
IsInternallyThreadSafe() |
Returns if the allocator is guaranteed to be thread-safe and therefore doesn't need a unnecessary thread-safety wrapper around it. |
|
|
void * |
Malloc |
Malloc |
|
QuantizeSize |
For some allocators this will return the actual size that should be requested to eliminate internal fragmentation. |
|
|
void * |
Realloc |
Realloc |
|
UpdateStats() |
Called once per frame, gathers and sets all memory allocator statistics into the corresponding stats. |
|
|
ValidateHeap() |
Validates the allocator's heap |
Name |
Description |
|
---|---|---|
|
FFreeMem |
Information about a piece of free memory. 16 bytes |
|
FPoolInfo |
|
|
PoolHashBucket |
Hash table struct for retrieving allocation book keeping information |
|
Private |
Name |
Description |
---|---|
EXTENDED_PAGE_POOL_ALLOCATION_COUNT |
Maximum allocation for the pooled allocator |
MAX_POOLED_ALLOCATION_SIZE |
|
POOL_COUNT |
Counts. |