1
0
forked from mirrors/0ad

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:
wraitii
2016-06-22 13:38:05 +00:00
parent 68bc88fb95
commit 3cbe96d24c
10 changed files with 2124 additions and 859 deletions
+1 -1
View File
@@ -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;