diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-05-06 08:28:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-06 08:28:59 +0200 |
commit | f70085a9425e9f4ebfec389604cc8008b01316ab (patch) | |
tree | 3fdde310219f699fa1d06dbb1593c3e4ae75a1de /core/debugger/remote_debugger.cpp | |
parent | 89449bd0e30f036f0aa21b2cb11d302bad9052be (diff) | |
parent | 79be2c7b75aed74541172187ce0d5249d129768d (diff) | |
download | redot-engine-f70085a9425e9f4ebfec389604cc8008b01316ab.tar.gz |
Merge pull request #60802 from Calinou/profiler-idle-time-rename
Diffstat (limited to 'core/debugger/remote_debugger.cpp')
-rw-r--r-- | core/debugger/remote_debugger.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/debugger/remote_debugger.cpp b/core/debugger/remote_debugger.cpp index c3506a7eea..5ee4e2c368 100644 --- a/core/debugger/remote_debugger.cpp +++ b/core/debugger/remote_debugger.cpp @@ -107,7 +107,7 @@ public: } } - void tick(double p_frame_time, double p_idle_time, double p_physics_time, double p_physics_frame_time) { + void tick(double p_frame_time, double p_process_time, double p_physics_time, double p_physics_frame_time) { uint64_t pt = OS::get_singleton()->get_ticks_msec(); if (pt - last_bandwidth_time > 200) { last_bandwidth_time = pt; @@ -130,7 +130,7 @@ class RemoteDebugger::PerformanceProfiler : public EngineProfiler { public: void toggle(bool p_enable, const Array &p_opts) {} void add(const Array &p_data) {} - void tick(double p_frame_time, double p_idle_time, double p_physics_time, double p_physics_frame_time) { + void tick(double p_frame_time, double p_process_time, double p_physics_time, double p_physics_frame_time) { if (!performance) { return; } |