mirror of
https://github.com/luanti-org/luanti.git
synced 2025-12-16 03:55:24 +01:00
Track server's max AsyncRunStep
This commit is contained in:
@@ -119,6 +119,7 @@ void *ServerThread::run()
|
|||||||
}
|
}
|
||||||
|
|
||||||
while (!stopRequested()) {
|
while (!stopRequested()) {
|
||||||
|
ScopeProfiler spm(g_profiler, "Server::RunStep() (max)", SPT_MAX);
|
||||||
try {
|
try {
|
||||||
m_server->AsyncRunStep();
|
m_server->AsyncRunStep();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user