Added static class PerformanceTimer. Changed CMakeLists for engine to include boost timer. Added F2,F3 functions in editor. Added some timing, more to be added

This commit is contained in:
verysecrethero
2016-02-16 16:57:46 +01:00
parent 969e7cb0d5
commit 4b8f1d95a3
8 changed files with 154 additions and 5 deletions
+6
View File
@@ -223,6 +223,12 @@ bool EditorSystem::OnInputCommand(const Events::InputCommand& e)
Enable();
}
}
if (e.Command == "PerformanceTimingResetAllTimers" && e.Value > 0) {
PerformanceTimer::ResetAllTimers();
}
if (e.Command == "PerformanceTimingCreateExcelData" && e.Value > 0) {
PerformanceTimer::CreateExcelData();
}
return true;
}