mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Some more profiler stuff to get the hang on what really uses CPU
This commit is contained in:
parent
b8f2dcea4d
commit
2419d0029a
5 changed files with 66 additions and 24 deletions
|
@ -1070,7 +1070,7 @@ void the_game(
|
|||
|
||||
object_hit_delay_timer -= dtime;
|
||||
|
||||
g_profiler->add("Elapsed time", dtime * 1000);
|
||||
g_profiler->add("Elapsed time", dtime);
|
||||
|
||||
/*
|
||||
Log frametime for visualization
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue