mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Improve debug profiler usage for investigating CPU usage of server
This commit is contained in:
parent
07d000cc54
commit
b8f2dcea4d
4 changed files with 98 additions and 73 deletions
|
@ -1070,6 +1070,8 @@ void the_game(
|
|||
|
||||
object_hit_delay_timer -= dtime;
|
||||
|
||||
g_profiler->add("Elapsed time", dtime * 1000);
|
||||
|
||||
/*
|
||||
Log frametime for visualization
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue