mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Improve debug profiler usage for investigating CPU usage of server
This commit is contained in:
@@ -1070,6 +1070,8 @@ void the_game(
|
||||
|
||||
object_hit_delay_timer -= dtime;
|
||||
|
||||
g_profiler->add("Elapsed time", dtime * 1000);
|
||||
|
||||
/*
|
||||
Log frametime for visualization
|
||||
*/
|
||||
|
Reference in New Issue
Block a user