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:
parent
1f5d4a62e9
commit
f1cc14d525
16 changed files with 191 additions and 57 deletions
|
|
@ -384,10 +384,12 @@ public:
|
|||
uint64_t call_count;
|
||||
uint64_t total_time;
|
||||
uint64_t self_time;
|
||||
uint64_t internal_time;
|
||||
};
|
||||
|
||||
virtual void profiling_start() = 0;
|
||||
virtual void profiling_stop() = 0;
|
||||
virtual void profiling_set_save_native_calls(bool p_enable) = 0;
|
||||
|
||||
virtual int profiling_get_accumulated_data(ProfilingInfo *p_info_arr, int p_info_max) = 0;
|
||||
virtual int profiling_get_frame_data(ProfilingInfo *p_info_arr, int p_info_max) = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue