#include <MallocBinnedCommon.h>
|
| virtual void | GetAllocatorStats (FGenericMemoryStats &OutStats) override |
| |
| virtual CORE_API void | OnMallocInitialized () override |
| |
| virtual void * | Malloc (SIZE_T Count, uint32 Alignment=DEFAULT_ALIGNMENT)=0 |
| |
| virtual CORE_API void * | TryMalloc (SIZE_T Count, uint32 Alignment=DEFAULT_ALIGNMENT) |
| |
| virtual void * | Realloc (void *Original, SIZE_T Count, uint32 Alignment=DEFAULT_ALIGNMENT)=0 |
| |
| virtual CORE_API void * | TryRealloc (void *Original, SIZE_T Count, uint32 Alignment=DEFAULT_ALIGNMENT) |
| |
| virtual void | Free (void *Original)=0 |
| |
| virtual CORE_API void * | MallocZeroed (SIZE_T Count, uint32 Alignment=DEFAULT_ALIGNMENT) |
| |
| virtual CORE_API void * | TryMallocZeroed (SIZE_T Count, uint32 Alignment=DEFAULT_ALIGNMENT) |
| |
| virtual SIZE_T | QuantizeSize (SIZE_T Count, uint32 Alignment) |
| |
| virtual bool | GetAllocationSize (void *Original, SIZE_T &SizeOut) |
| |
| virtual void | Trim (bool bTrimThreadCaches) |
| |
| virtual CORE_API void | InitializeStatsMetadata () |
| |
| virtual CORE_API void | UpdateStats () |
| |
| virtual void | DumpAllocatorStats (class FOutputDevice &Ar) |
| |
| virtual bool | IsInternallyThreadSafe () const |
| |
| virtual bool | ValidateHeap () |
| |
| virtual const TCHAR * | GetDescriptiveName () |
| |
| virtual void | OnPreFork () |
| |
| virtual void | OnPostFork () |
| |
| virtual uint64 | GetImmediatelyFreeableCachedMemorySize () const |
| |
| virtual uint64 | GetTotalFreeCachedMemorySize () const |
| |
| CORE_API void * | operator new (size_t Size) |
| |
| CORE_API void | operator delete (void *Ptr) |
| |
| void * | operator new[] (size_t Size) |
| |
| void | operator delete[] (void *Ptr) |
| |
| virtual CORE_API | ~FExec () |
| |
| virtual CORE_API bool | Exec (UWorld *InWorld, const TCHAR *Cmd, FOutputDevice &Ar) |
| |
|
| virtual void | SetupTLSCachesOnCurrentThread () override |
| |
| virtual void | ClearAndDisableTLSCachesOnCurrentThread () override |
| |
| virtual void | MarkTLSCachesAsUsedOnCurrentThread () override |
| |
| virtual void | MarkTLSCachesAsUnusedOnCurrentThread () override |
| |
| SIZE_T | QuantizeSizeCommon (SIZE_T Count, uint32 Alignment, const AllocType &Alloc) const |
| |
| uint32 | BoundSizeToPoolIndex (SIZE_T Size, const uint8(&MemSizeToPoolIndex)[SIZE_TO_POOL_INDEX_NUM]) const |
| |
| FORCENOINLINE bool | PromoteToLargerBin (SIZE_T &Size, uint32 &Alignment, const AllocType &Alloc) const |
| |
| bool | GetAllocationSizeExternal (void *Ptr, SIZE_T &SizeOut) |
| |
| int64 | GetTotalAllocatedSmallPoolMemory () const |
| |
| void | UpdateStatsCommon (const AllocType &Alloc) |
| |
| void | AllocateHashBuckets () |
| |
| void | GetAllocatorStatsInternal (FGenericMemoryStats &OutStats, int64 TotalAllocatedSmallPoolMemory) |
| |
| void | UnrecognizedPointerFatalError (void *Ptr) |
| |
| void | LogLargeAllocation (SIZE_T Size) const |
| |
| virtual bool | Exec_Runtime (UWorld *InWorld, const TCHAR *Cmd, FOutputDevice &Ar) |
| |
| virtual bool | Exec_Dev (UWorld *InWorld, const TCHAR *Cmd, FOutputDevice &Ar) |
| |
| virtual bool | Exec_Editor (UWorld *InWorld, const TCHAR *Cmd, FOutputDevice &Ar) |
| |
◆ AllocateHashBuckets()
template<class
AllocType , int NumSmallPools, int MaxSmallPoolSize>
◆ BoundSizeToPoolIndex()
template<class
AllocType , int NumSmallPools, int MaxSmallPoolSize>
◆ ClearAndDisableTLSCachesOnCurrentThread()
template<class
AllocType , int NumSmallPools, int MaxSmallPoolSize>
|
|
inlineoverrideprotectedvirtual |
Clears the TLS caches on the current thread and disables any future caching.
Reimplemented from FMalloc.
◆ GetAllocationSizeExternal()
template<class
AllocType , int NumSmallPools, int MaxSmallPoolSize>
◆ GetAllocatorStats()
template<class
AllocType , int NumSmallPools, int MaxSmallPoolSize>
Writes allocator stats from the last update into the specified destination.
Reimplemented from FMalloc.
◆ GetFreeBlockListsRegistrationMutex()
template<class
AllocType , int NumSmallPools, int MaxSmallPoolSize>
◆ GetRegisteredFreeBlockLists()
template<class
AllocType , int NumSmallPools, int MaxSmallPoolSize>
◆ GetTotalAllocatedSmallPoolMemory()
template<class
AllocType , int NumSmallPools, int MaxSmallPoolSize>
◆ MarkTLSCachesAsUnusedOnCurrentThread()
template<class
AllocType , int NumSmallPools, int MaxSmallPoolSize>
|
|
inlineoverrideprotectedvirtual |
Mark TLS caches for current thread as unused. Typically before going to sleep. These are the threads that we can trim without waking them up.
Reimplemented from FMalloc.
◆ MarkTLSCachesAsUsedOnCurrentThread()
template<class
AllocType , int NumSmallPools, int MaxSmallPoolSize>
|
|
inlineoverrideprotectedvirtual |
Mark TLS caches for the current thread as used. Thread has woken up to do some processing and needs its TLS caches back.
Reimplemented from FMalloc.
◆ PromoteToLargerBin()
template<class
AllocType , int NumSmallPools, int MaxSmallPoolSize>
◆ QuantizeSizeCommon()
template<class
AllocType , int NumSmallPools, int MaxSmallPoolSize>
◆ SetupTLSCachesOnCurrentThread()
template<class
AllocType , int NumSmallPools, int MaxSmallPoolSize>
|
|
inlineoverrideprotectedvirtual |
Set up TLS caches on the current thread. These are the threads that we can trim.
Reimplemented from FMalloc.
◆ UpdateStatsCommon()
template<class
AllocType , int NumSmallPools, int MaxSmallPoolSize>
◆ FMallocBinnedCommonUtils
template<class
AllocType , int NumSmallPools, int MaxSmallPoolSize>
◆ SIZE_TO_POOL_INDEX_NUM
template<class
AllocType , int NumSmallPools, int MaxSmallPoolSize>
The documentation for this class was generated from the following file: