Module |
|
Header |
/Engine/Source/Runtime/Core/Public/HAL/UnrealMemory.h |
Include |
#include "HAL/UnrealMemory.h" |
struct FMemory
Name | Description | ||
---|---|---|---|
|
void * |
BigBlockMemcpy |
|
|
ClearAndDisableTLSCachesOnCurrentThread() |
Clears the TLS caches on the current thread and disables any future caching. |
|
|
DisablePersistentAuxiliary() |
||
|
EnablePersistentAuxiliary() |
||
|
EnablePoisonTests() |
Called once main is started and we have -purgatorymallocproxy. |
|
|
EnablePurgatoryTests() |
Called once main is started and we have -purgatorymallocproxy. |
|
|
ExplicitInit ( |
Set global allocator instead of creating it lazily on first allocation. |
|
|
Free ( |
||
|
FreePersistentAuxiliary ( |
||
|
GetAllocSize ( |
||
|
GetUsedPersistentAuxiliary() |
||
|
IsPersistentAuxiliaryActive() |
||
|
void * |
Malloc |
C style memory allocation stubs. |
|
void * |
MallocPersistentAuxiliary |
|
|
void * |
MallocZeroed |
|
|
Memcmp |
||
|
void * |
Memcpy |
|
|
Memcpy ( |
||
|
void * |
Memmove |
|
|
Memset ( |
||
|
void * |
Memset |
|
|
Memswap |
||
|
Memzero ( |
||
|
void * |
Memzero |
|
|
QuantizeSize |
For some allocators this will return the actual size that should be requested to eliminate internal fragmentation. |
|
|
void * |
Realloc |
|
|
RegisterPersistentAuxiliary |
Functions to handle special memory given to the title from the platform This memory is allocated like a stack, it's never really freed |
|
|
SetupTLSCachesOnCurrentThread() |
Set up TLS caches on the current thread. These are the threads that we can trim. |
|
|
void * |
StreamingMemcpy |
|
|
SystemFree ( |
||
|
void * |
SystemMalloc ( |
C style memory allocation stubs that fall back to C runtime |
|
TestMemory() |
A helper function that will perform a series of random heap allocations to test the internal validity of the heap. |
|
|
Trim ( |
Releases as much memory as possible. Must be called from the main thread. |