Rename profiler "Idle Time" to "Process Time"

References to "idle time" are progressively being replaced by
"process time" throughout the engine to avoid confusion.
This commit is contained in:
Hugo Locurcio
2022-05-05 20:23:47 +02:00
parent efd6e4da0c
commit 79be2c7b75
10 changed files with 27 additions and 27 deletions

View File

@@ -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;
}