mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Increase coverage of timestamps for visual profiler
This commit is contained in:
parent
29b3d9e9e5
commit
ac6c648645
5 changed files with 61 additions and 34 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue