mirror of
https://github.com/godotengine/godot.git
synced 2025-02-18 00:30:43 +00:00
Merge pull request #86772 from Rindbee/display-functions-in-profiler
Display functions that were previously forgotten in Profiler
This commit is contained in:
commit
c7210674b8
@ -342,10 +342,12 @@ public:
|
|||||||
}
|
}
|
||||||
ServerInfo &srv = server_data[name];
|
ServerInfo &srv = server_data[name];
|
||||||
|
|
||||||
ServerFunctionInfo fi;
|
for (int idx = 1; idx < p_data.size() - 1; idx += 2) {
|
||||||
fi.name = p_data[1];
|
ServerFunctionInfo fi;
|
||||||
fi.time = p_data[2];
|
fi.name = p_data[idx];
|
||||||
srv.functions.push_back(fi);
|
fi.time = p_data[idx + 1];
|
||||||
|
srv.functions.push_back(fi);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void tick(double p_frame_time, double p_process_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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user