Expose client reliable queue pressure
This commit is contained in:
parent
1266419492
commit
387f4fba70
1 changed files with 4 additions and 1 deletions
|
|
@ -144,9 +144,12 @@ while (!stopped.Task.IsCompleted)
|
|||
if (tick.Frame.FrameId % (traceClientRudp ? 10 : 120) == 0)
|
||||
{
|
||||
var clientStats = cultMeshRudpHost.Stats;
|
||||
var pendingReliable = string.Join(",", cultMeshRudpHost.Peers.Select(
|
||||
peer => $"{peer.RemoteEndPoint}:{peer.PendingReliablePacketCount}"));
|
||||
Console.WriteLine(
|
||||
$"Aetheria Verse daemon published frame {tick.Frame.FrameId} at {tick.Frame.SimulationTimeSeconds:0.00}s; " +
|
||||
$"client peers={cultMeshRudpHost.Peers.Count} rx={clientStats.BytesReceived} tx={clientStats.BytesSent}.");
|
||||
$"client peers={cultMeshRudpHost.Peers.Count} pending=[{pendingReliable}] " +
|
||||
$"rx={clientStats.BytesReceived} tx={clientStats.BytesSent}.");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue