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