#include <MallocDebug.h>
|
| | FMallocDebug () |
| |
| virtual void * | Malloc (SIZE_T Size, uint32 Alignment) override |
| |
| virtual void * | Realloc (void *InPtr, SIZE_T NewSize, uint32 Alignment) override |
| |
| virtual void | Free (void *InPtr) override |
| |
| virtual bool | GetAllocationSize (void *Original, SIZE_T &SizeOut) override |
| |
| virtual void | DumpAllocatorStats (FOutputDevice &Ar) override |
| |
| virtual bool | ValidateHeap () override |
| |
| virtual bool | Exec (UWorld *InWorld, const TCHAR *Cmd, FOutputDevice &Ar) override |
| |
| virtual const TCHAR * | GetDescriptiveName () override |
| |
| virtual CORE_API void * | TryMalloc (SIZE_T Count, uint32 Alignment=DEFAULT_ALIGNMENT) |
| |
| virtual CORE_API void * | TryRealloc (void *Original, SIZE_T Count, uint32 Alignment=DEFAULT_ALIGNMENT) |
| |
| 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 void | Trim (bool bTrimThreadCaches) |
| |
| virtual void | SetupTLSCachesOnCurrentThread () |
| |
| virtual void | MarkTLSCachesAsUsedOnCurrentThread () |
| |
| virtual void | MarkTLSCachesAsUnusedOnCurrentThread () |
| |
| virtual void | ClearAndDisableTLSCachesOnCurrentThread () |
| |
| virtual CORE_API void | InitializeStatsMetadata () |
| |
| virtual CORE_API void | UpdateStats () |
| |
| virtual CORE_API void | GetAllocatorStats (FGenericMemoryStats &out_Stats) |
| |
| virtual bool | IsInternallyThreadSafe () const |
| |
| virtual void | OnMallocInitialized () |
| |
| 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 () |
| |
◆ FMallocDebug()
| FMallocDebug::FMallocDebug |
( |
| ) |
|
|
inline |
◆ DumpAllocatorStats()
Dumps details about all allocations to an output device
- Parameters
-
Reimplemented from FMalloc.
◆ Exec()
Exec handler
- Parameters
-
| InWorld | World context |
| Cmd | Command to parse |
| Ar | Output device to log to |
- Returns
- true if command was handled, false otherwise
Reimplemented from FExec.
◆ Free()
◆ GetAllocationSize()
If possible determine the size of the memory allocated at the given address
- Parameters
-
| Original | - Pointer to memory we are checking the size of |
| SizeOut | - If possible, this value is set to the size of the passed in pointer |
- Returns
- true if succeeded
Reimplemented from FMalloc.
◆ GetDescriptiveName()
Gets descriptive name for logging purposes.
- Returns
- pointer to human-readable malloc name
Reimplemented from FMalloc.
◆ Malloc()
◆ Realloc()
◆ ValidateHeap()
Validates the allocator's heap
Reimplemented from FMalloc.
The documentation for this class was generated from the following file: