mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-22 05:26:47 +00:00
Revamp Profiler2 to make it more usable.
Features include new graphs to compare runtime of functions and runtimes across reports, as well as new profiling functions that only profile spikes. This was SVN commit r18423.
This commit is contained in:
@@ -262,7 +262,7 @@ bool ProfileStop(JSContext* UNUSED(cx), uint UNUSED(argc), jsval* vp)
|
||||
if (CProfileManager::IsInitialised() && ThreadUtil::IsMainThread())
|
||||
g_Profiler.Stop();
|
||||
|
||||
g_Profiler2.RecordRegionLeave("(ProfileStop)");
|
||||
g_Profiler2.RecordRegionLeave();
|
||||
|
||||
rec.rval().setUndefined();
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user