You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fix missing time for some script functions in profiler
Fixes the issue by adding a mechanism by which the functions that were previously disappearing can be profiled too. This is optional with an editor setting, since collecting more information naturally slows the engine further while profiling. Fixes #23715, #40251, #29049
This commit is contained in:
@@ -145,6 +145,7 @@ void ScriptLanguageExtension::_bind_methods() {
|
||||
|
||||
GDVIRTUAL_BIND(_profiling_start);
|
||||
GDVIRTUAL_BIND(_profiling_stop);
|
||||
GDVIRTUAL_BIND(_profiling_set_save_native_calls, "enable");
|
||||
|
||||
GDVIRTUAL_BIND(_profiling_get_accumulated_data, "info_array", "info_max");
|
||||
GDVIRTUAL_BIND(_profiling_get_frame_data, "info_array", "info_max");
|
||||
|
||||
Reference in New Issue
Block a user