17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-25 00:57:36 +02:00

perf(debug): parts of the vehicle update in the debug panel: scenery animations, power grid, roads, preparation, forces, vehicle update and ai, with the counts of vehicles and physics steps; input and the start of the ui frame timed apart

This commit is contained in:
2026-10-23 17:26:44 +02:00
parent fc714d50ec
commit 52df707f30
6 changed files with 111 additions and 6 deletions

View File

@@ -496,10 +496,12 @@ int eu07_application::run()
if (m_headtrack)
m_headtrack->update();
begin_ui_frame();
Timer::subsystem.loop_input.stop();
Timer::subsystem.loop_ui_frame.start();
begin_ui_frame();
Timer::subsystem.loop_ui_frame.stop();
// -------------------------------------------------------------------
// multiplayer command relaying logic can seem a bit complex
//