![]() |
Ark Server API (ASA) - Wiki
|
#include <MallocFrameProfiler.h>
Inheritance diagram for FMallocFrameProfiler:
Collaboration diagram for FMallocFrameProfiler:Classes | |
| struct | FCallStackStats |
Static Public Member Functions | |
| static FMalloc * | OverrideIfEnabled (FMalloc *InUsedAlloc) |
Protected Member Functions | |
| virtual bool | IsDisabled () override |
| virtual void | TrackMalloc (void *Ptr, uint32 Size, int32 CallStackIndex) |
| virtual void | TrackFree (void *Ptr, uint32 OldSize, int32 CallStackIndex) |
| virtual void | TrackRealloc (void *OldPtr, void *NewPtr, uint32 NewSize, uint32 OldSize, int32 CallStackIndex) |
Protected Member Functions inherited from FMallocCallstackHandler | |
| FORCEINLINE void | IncDisabled () |
| FORCEINLINE void | DecDisabled () |
| virtual int32 | GetCallStackIndex () |
Protected Member Functions inherited from FExec | |
| virtual bool | Exec_Dev (UWorld *InWorld, const TCHAR *Cmd, FOutputDevice &Ar) |
| virtual bool | Exec_Editor (UWorld *InWorld, const TCHAR *Cmd, FOutputDevice &Ar) |
Protected Attributes | |
| bool | bEnabled |
| uint32 | FrameCount |
| uint32 | EntriesToOutput |
| TMap< void *, int32 > | TrackedCurrentAllocations |
| TArray< FCallStackStats > | CallStackStatsArray |
Protected Attributes inherited from FMallocCallstackHandler | |
| FMalloc * | UsedMalloc |
| bool | Initialized |
| FCriticalSection | CriticalSection |
| uint32 | DisabledTLS |
| FRWLock | RWLock |
| TMap< FCallStackMapKey, int32 > | CallStackMapKeyToCallStackIndexMap |
| TArray< FCallStackInfo > | CallStackInfoArray |
Additional Inherited Members | |
Static Public Attributes inherited from FMallocCallstackHandler | |
| static constexpr SIZE_T | MaxCallStackDepth = 64 |
| static constexpr SIZE_T | CallStackEntriesToSkipCount = 2 |
Static Public Attributes inherited from FMalloc | |
| static TAtomic< uint64 > | MaxSingleAlloc |
Definition at line 14 of file MallocFrameProfiler.h.
| FMallocFrameProfiler::FMallocFrameProfiler | ( | FMalloc * | InMalloc | ) |
|
overridevirtual |
Handles any commands passed in on the command line
Reimplemented from FExec.
Reimplemented from FMallocCallstackHandler.
Reimplemented from FMallocCallstackHandler.
|
protectedvirtual |
Implements FMallocCallstackHandler.
|
protectedvirtual |
Implements FMallocCallstackHandler.
|
protectedvirtual |
Reimplemented from FMallocCallstackHandler.
Called once per frame, gathers and sets all memory allocator statistics into the corresponding stats. MUST BE THREAD SAFE.
Reimplemented from FMallocCallstackHandler.
|
protected |
Definition at line 41 of file MallocFrameProfiler.h.
|
protected |
Definition at line 56 of file MallocFrameProfiler.h.
|
protected |
Definition at line 43 of file MallocFrameProfiler.h.
|
protected |
Definition at line 42 of file MallocFrameProfiler.h.
Definition at line 55 of file MallocFrameProfiler.h.