OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs
/// <summary>
/// Return statistics information about client packet queues.
/// </summary>
/// <remarks>
/// FIXME: This should really be done in a more sensible manner rather than sending back a formatted string.
/// </remarks>
/// <returns></returns>
Return statistics information about client packet queues.
Return statistics information about client packet queues .
public string GetStats()
        {
            return string.Format(
                "{0,7} {1,7} {2,7} {3,9} {4,7} {5,7} {6,7} {7,7} {8,7} {9,8} {10,7} {11,7}",
                Util.EnvironmentTickCountSubtract(TickLastPacketReceived),
                PacketsReceived,                                 
                PacketsSent,
                PacketsResent,
                UnackedBytes,
                m_packetOutboxes[(int)ThrottleOutPacketType.Resend].Count,
                m_packetOutboxes[(int)ThrottleOutPacketType.Land].Count,
                m_packetOutboxes[(int)ThrottleOutPacketType.Wind].Count,
                m_packetOutboxes[(int)ThrottleOutPacketType.Cloud].Count,
                m_packetOutboxes[(int)ThrottleOutPacketType.Task].Count,
                m_packetOutboxes[(int)ThrottleOutPacketType.Texture].Count,
                m_packetOutboxes[(int)ThrottleOutPacketType.Asset].Count);
        }
public string GetStats ( ) { return string . Format ( " " , Util . EnvironmentTickCountSubtract ( TickLastPacketReceived ) , PacketsReceived , PacketsSent , PacketsResent , UnackedBytes , m_packetOutboxes [ ( int ) ThrottleOutPacketType . Resend ] . Count , m_packetOutboxes [ ( int ) ThrottleOutPacketType . Land ] . Count , m_packetOutboxes [ ( int ) ThrottleOutPacketType . Wind ] . Count , m_packetOutboxes [ ( int ) ThrottleOutPacketType . Cloud ] . Count , m_packetOutboxes [ ( int ) ThrottleOutPacketType . Task ] . Count , m_packetOutboxes [ ( int ) ThrottleOutPacketType . Texture ] . Count , m_packetOutboxes [ ( int ) ThrottleOutPacketType . Asset ] . Count ) ; }
Return statistics information about client packet queues.
Return statistics information about client packet queues .
None
remarks
This should really be done in a more sensible manner rather than sending back a formatted string.
This should really be done in a more sensible manner rather than sending back a formatted string .