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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user