You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Add Audio Server profiling time to the profiler
This commit is contained in:
@@ -1823,6 +1823,8 @@ bool Main::iteration() {
|
||||
ScriptServer::get_language(i)->frame();
|
||||
}
|
||||
|
||||
AudioServer::get_singleton()->update();
|
||||
|
||||
if (script_debugger) {
|
||||
if (script_debugger->is_profiling()) {
|
||||
script_debugger->profiling_set_frame_times(USEC_TO_SEC(frame_time), USEC_TO_SEC(idle_process_ticks), USEC_TO_SEC(physics_process_ticks), frame_slice);
|
||||
|
||||
Reference in New Issue
Block a user