Add more memory profiling insights and groups
This commit is contained in:
@@ -92,7 +92,7 @@ bool MAssembly::Load(const String& assemblyPath, const StringView& nativePath)
|
||||
if (IsLoaded())
|
||||
return false;
|
||||
PROFILE_CPU();
|
||||
PROFILE_MEM(Scripting);
|
||||
PROFILE_MEM(ScriptingCSharp);
|
||||
ZoneText(*assemblyPath, assemblyPath.Length());
|
||||
Stopwatch stopwatch;
|
||||
|
||||
|
||||
@@ -122,6 +122,7 @@ public:
|
||||
static void Collect(int32 generation);
|
||||
static void Collect(int32 generation, MGCCollectionMode collectionMode, bool blocking, bool compacting);
|
||||
static int32 MaxGeneration();
|
||||
static void MemoryInfo(int64& totalCommitted, int64& heapSize);
|
||||
static void WaitForPendingFinalizers();
|
||||
static void WriteRef(void* ptr, MObject* ref);
|
||||
static void WriteValue(void* dst, void* src, int32 count, const MClass* klass);
|
||||
|
||||
Reference in New Issue
Block a user