diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs index 5300b1e..cc4de10 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | |||
@@ -70,8 +70,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
70 | StatsManager.RegisterStat( | 70 | StatsManager.RegisterStat( |
71 | new Stat( | 71 | new Stat( |
72 | "IncomingUDPReceivesCount", | 72 | "IncomingUDPReceivesCount", |
73 | "Number of inbound LL protocol packets processed", | 73 | "Number of UDP receives performed", |
74 | "Number of inbound LL protocol packets processed", | 74 | "Number of UDP receives performed", |
75 | "", | 75 | "", |
76 | "clientstack", | 76 | "clientstack", |
77 | scene.Name, | 77 | scene.Name, |
@@ -95,6 +95,19 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
95 | 95 | ||
96 | StatsManager.RegisterStat( | 96 | StatsManager.RegisterStat( |
97 | new Stat( | 97 | new Stat( |
98 | "OutgoingUDPSendsCount", | ||
99 | "Number of UDP sends performed", | ||
100 | "Number of UDP sends performed", | ||
101 | "", | ||
102 | "clientstack", | ||
103 | scene.Name, | ||
104 | StatType.Pull, | ||
105 | MeasuresOfInterest.AverageChangeOverTime, | ||
106 | stat => stat.Value = m_udpServer.UdpSends, | ||
107 | StatVerbosity.Debug)); | ||
108 | |||
109 | StatsManager.RegisterStat( | ||
110 | new Stat( | ||
98 | "AverageUDPProcessTime", | 111 | "AverageUDPProcessTime", |
99 | "Average number of milliseconds taken to process each incoming UDP packet in a sample.", | 112 | "Average number of milliseconds taken to process each incoming UDP packet in a sample.", |
100 | "This is for initial receive processing which is separate from the later client LL packet processing stage.", | 113 | "This is for initial receive processing which is separate from the later client LL packet processing stage.", |
@@ -856,7 +869,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
856 | 869 | ||
857 | PacketPool.Instance.ReturnPacket(packet); | 870 | PacketPool.Instance.ReturnPacket(packet); |
858 | m_dataPresentEvent.Set(); | 871 | m_dataPresentEvent.Set(); |
859 | |||
860 | } | 872 | } |
861 | 873 | ||
862 | private AutoResetEvent m_dataPresentEvent = new AutoResetEvent(false); | 874 | private AutoResetEvent m_dataPresentEvent = new AutoResetEvent(false); |