17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-25 02:14:49 +01: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

@@ -434,6 +434,8 @@ bool driver_mode::update()
Timer::subsystem.sim_precipitation.stop();
Timer::subsystem.sim_total.stop();
// the parts of the vehicle update made in the frame, none when paused
Timer::subsystem.commit_frame();
Timer::subsystem.loop_audio.start();
simulation::Region->update_sounds();