OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
/// <summary>
/// This is a seperate method so that it can be called once we have an m_scene to distinguish different scene
/// stats.
/// </summary>
This is a seperate method so that it can be called once we have an m_scene to distinguish different scene
stats.
This is a seperate method so that it can be called once we have an m_scene to distinguish different scene stats .
protected internal void EnablePoolStats()
        {
            m_poolCountStat
                = new Stat(
                    "UDPPacketBufferPoolCount",
                    "Objects within the UDPPacketBuffer pool",
                    "The number of objects currently stored within the UDPPacketBuffer pool",
                    "",
                    "clientstack",
                    Scene.Name,
                    StatType.Pull,
                    stat => stat.Value = Pool.Count,
                    StatVerbosity.Debug);
            StatsManager.RegisterStat(m_poolCountStat);
            m_incomingPacketPoolStat
                = new Stat(
                    "IncomingPacketPoolCount",
                    "Objects within incoming packet pool",
                    "The number of objects currently stored within the incoming packet pool",
                    "",
                    "clientstack",
                    Scene.Name,
                    StatType.Pull,
                    stat => stat.Value = m_incomingPacketPool.Count,
                    StatVerbosity.Debug);
            StatsManager.RegisterStat(m_incomingPacketPoolStat);
        }
protected internal void EnablePoolStats ( ) { m_poolCountStat = new Stat ( " " , " " , " " , " " , " " , Scene . Name , StatType . Pull , stat => stat . Value = Pool . Count , StatVerbosity . Debug ) ; StatsManager . RegisterStat ( m_poolCountStat ) ; m_incomingPacketPoolStat = new Stat ( " " , " " , " " , " " , " " , Scene . Name , StatType . Pull , stat => stat . Value = m_incomingPacketPool . Count , StatVerbosity . Debug ) ; StatsManager . RegisterStat ( m_incomingPacketPoolStat ) ; }
This is a seperate method so that it can be called once we have an m_scene to distinguish different scene
stats.
This is a seperate method so that it can be called once we have an m_scene to distinguish different scene stats .