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:
@@ -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