Increase coverage of timestamps for visual profiler

This commit is contained in:
clayjohn 2024-03-11 15:12:57 -07:00
parent 29b3d9e9e5
commit ac6c648645
5 changed files with 61 additions and 34 deletions

View file

@ -80,6 +80,7 @@ void RenderingServerDefault::_draw(bool p_swap_buffers, double frame_step) {
uint64_t time_usec = OS::get_singleton()->get_ticks_usec();
RENDER_TIMESTAMP("Prepare Render Frame");
RSG::scene->update(); //update scenes stuff before updating instances
frame_setup_time = double(OS::get_singleton()->get_ticks_usec() - time_usec) / 1000.0;