Added a command to show server perfomence (ShowServerPerf)
Removed unwanted PhysicsTask that was accideltally readded via revert action Removed a parallel operation for SE.UpdateAll and ME.UpdateAll. Cancelled roll back for ServerEntityEventManager
This commit is contained in:
@@ -135,9 +135,7 @@ namespace Barotrauma
|
||||
}
|
||||
if (TotalTimeElapsed - 60000 >= tickrate60stimer)
|
||||
{
|
||||
#if !DEBUG
|
||||
GameServer.Log(PM.ToString(), ServerLog.MessageType.ServerMessage);
|
||||
#endif
|
||||
TickRateLow = 60;
|
||||
TickRateHigh = 60;
|
||||
tickrate60stimer = TotalTimeElapsed;
|
||||
@@ -159,10 +157,7 @@ namespace Barotrauma
|
||||
}
|
||||
override public string ToString()
|
||||
{
|
||||
return
|
||||
#if !DEBUG
|
||||
$"Server Performence Info \n" +
|
||||
#endif
|
||||
return $"Server Performence Info \n" +
|
||||
$"Item Count: {ItemCount}\n" +
|
||||
$"Character Count: {CharacterCount}\n" +
|
||||
$"PhysicsBody Count: {PhysicsBodyCount}\n" +
|
||||
|
||||
Reference in New Issue
Block a user