|
|
virtual void | ClearAndDisableTLSCachesOnCurrentThread () override |
| | Clears the TLS caches on the current thread and disables any future caching.
|
| |
|
virtual void | DumpAllocatorStats (class FOutputDevice &Ar) override |
| | Dumps current allocator stats to the log.
|
| |
|
virtual bool | Exec (UWorld *InWorld, const TCHAR *Cmd, FOutputDevice &Ar) override |
| | Handles any commands passed in on the command line
|
| |
|
virtual void | Free (void *Ptr) override |
| | Free
|
| |
| virtual bool | GetAllocationSize (void *Original, SIZE_T &SizeOut) override |
| | If possible determine the size of the memory allocated at the given address 更多...
|
| |
|
virtual void | GetAllocatorStats (FGenericMemoryStats &out_Stats) override |
| | Writes allocator stats from the last update into the specified destination.
|
| |
| virtual const TCHAR * | GetDescriptiveName () override |
| | Gets descriptive name for logging purposes. 更多...
|
| |
| virtual void | InitializeStatsMetadata () override |
| | Initializes stats metadata. 更多...
|
| |
|
virtual bool | IsInternallyThreadSafe () const override |
| | Returns if the allocator is guaranteed to be thread-safe and therefore doesn't need a unnecessary thread-safety wrapper around it.
|
| |
|
virtual void * | Malloc (SIZE_T Size, uint32 Alignment) override |
| | Malloc
|
| |
| virtual SIZE_T | QuantizeSize (SIZE_T Count, uint32 Alignment) override |
| | For some allocators this will return the actual size that should be requested to eliminate internal fragmentation. 更多...
|
| |
|
virtual void * | Realloc (void *Ptr, SIZE_T NewSize, uint32 Alignment) override |
| | Realloc
|
| |
| virtual void | SetupTLSCachesOnCurrentThread () override |
| | Set up TLS caches on the current thread. 更多...
|
| |
| virtual void | Trim (bool bTrimThreadCaches) override |
| | Releases as much memory as possible. 更多...
|
| |
| virtual void | UpdateStats () override |
| | Called once per frame, gathers and sets all memory allocator statistics into the corresponding stats. 更多...
|
| |
|
virtual bool | ValidateHeap () override |
| | Validates the allocator's heap
|
| |
|
virtual void | ClearAndDisableTLSCachesOnCurrentThread () |
| | Clears the TLS caches on the current thread and disables any future caching.
|
| |
|
virtual void | DumpAllocatorStats (class FOutputDevice &Ar) |
| | Dumps current allocator stats to the log.
|
| |
|
virtual bool | Exec (UWorld *InWorld, const TCHAR *Cmd, FOutputDevice &Ar) override |
| | Handles any commands passed in on the command line
|
| |
|
virtual void | Free (void *Original)=0 |
| | Free
|
| |
| virtual bool | GetAllocationSize (void *Original, SIZE_T &SizeOut) |
| | If possible determine the size of the memory allocated at the given address 更多...
|
| |
|
virtual void | GetAllocatorStats (FGenericMemoryStats &out_Stats) |
| | Writes allocator stats from the last update into the specified destination.
|
| |
| virtual const TCHAR * | GetDescriptiveName () |
| | Gets descriptive name for logging purposes. 更多...
|
| |
| virtual void | InitializeStatsMetadata () |
| | Initializes stats metadata. 更多...
|
| |
|
virtual bool | IsInternallyThreadSafe () const |
| | Returns if the allocator is guaranteed to be thread-safe and therefore doesn't need a unnecessary thread-safety wrapper around it.
|
| |
|
virtual void * | Malloc (SIZE_T Count, uint32 Alignment=DEFAULT_ALIGNMENT)=0 |
| | Malloc
|
| |
| virtual SIZE_T | QuantizeSize (SIZE_T Count, uint32 Alignment) |
| | For some allocators this will return the actual size that should be requested to eliminate internal fragmentation. 更多...
|
| |
|
virtual void * | Realloc (void *Original, SIZE_T Count, uint32 Alignment=DEFAULT_ALIGNMENT)=0 |
| | Realloc
|
| |
| virtual void | SetupTLSCachesOnCurrentThread () |
| | Set up TLS caches on the current thread. 更多...
|
| |
| virtual void | Trim (bool bTrimThreadCaches) |
| | Releases as much memory as possible. 更多...
|
| |
|
virtual void * | TryMalloc (SIZE_T Count, uint32 Alignment=DEFAULT_ALIGNMENT) |
| | TryMalloc - like Malloc(), but may return a nullptr result if the allocation request cannot be satisfied.
|
| |
| virtual void * | TryRealloc (void *Original, SIZE_T Count, uint32 Alignment=DEFAULT_ALIGNMENT) |
| | TryRealloc - like Realloc(), but may return a nullptr if the allocation request cannot be satisfied. 更多...
|
| |
| virtual void | UpdateStats () |
| | Called once per frame, gathers and sets all memory allocator statistics into the corresponding stats. 更多...
|
| |
|
virtual bool | ValidateHeap () |
| | Validates the allocator's heap
|
| |
| void | operator delete (void *Ptr) |
| | Overloaded delete operator using the system allocator 更多...
|
| |
| void | operator delete[] (void *Ptr) |
| | Overloaded array delete operator using the system allocator 更多...
|
| |
| void * | operator new (size_t Size) |
| | Overloaded new operator using the system allocator. 更多...
|
| |
| void * | operator new[] (size_t Size) |
| | Overloaded array new operator using the system allocator. 更多...
|
| |
FMalloc proxy that poisons new and freed allocations, helping to catch code that relies on uninitialized or freed memory.