mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +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
|
@ -1214,7 +1214,7 @@ void Server::AsyncRunStep()
|
|||
JMutexAutoLock lock(m_env_mutex);
|
||||
// Step environment
|
||||
ScopeProfiler sp(g_profiler, "SEnv step");
|
||||
ScopeProfiler sp2(g_profiler, "SEnv step avg", SPT_LOWPASS);
|
||||
ScopeProfiler sp2(g_profiler, "SEnv step avg", SPT_AVG);
|
||||
m_env.step(dtime);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue