diff options
author | Justin Clark-Casey (justincc) | 2013-07-22 23:58:45 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-07-23 00:35:23 +0100 |
commit | 8396f1bd42cf42d412c09e769c491930aaa8bfea (patch) | |
tree | 22170f9de9d8b454e59a6826976df8e1d2ed4689 /OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | |
parent | Add AverageUDPProcessTime stat to try and get a handle on how long we're taki... (diff) | |
download | opensim-SC-8396f1bd42cf42d412c09e769c491930aaa8bfea.zip opensim-SC-8396f1bd42cf42d412c09e769c491930aaa8bfea.tar.gz opensim-SC-8396f1bd42cf42d412c09e769c491930aaa8bfea.tar.bz2 opensim-SC-8396f1bd42cf42d412c09e769c491930aaa8bfea.tar.xz |
Record raw number of UDP receives as clientstack.IncomingUDPReceivesCount
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs index d3823f3..5300b1e 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | |||
@@ -69,6 +69,19 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
69 | 69 | ||
70 | StatsManager.RegisterStat( | 70 | StatsManager.RegisterStat( |
71 | new Stat( | 71 | new Stat( |
72 | "IncomingUDPReceivesCount", | ||
73 | "Number of inbound LL protocol packets processed", | ||
74 | "Number of inbound LL protocol packets processed", | ||
75 | "", | ||
76 | "clientstack", | ||
77 | scene.Name, | ||
78 | StatType.Pull, | ||
79 | MeasuresOfInterest.AverageChangeOverTime, | ||
80 | stat => stat.Value = m_udpServer.UdpReceives, | ||
81 | StatVerbosity.Debug)); | ||
82 | |||
83 | StatsManager.RegisterStat( | ||
84 | new Stat( | ||
72 | "IncomingPacketsProcessedCount", | 85 | "IncomingPacketsProcessedCount", |
73 | "Number of inbound LL protocol packets processed", | 86 | "Number of inbound LL protocol packets processed", |
74 | "Number of inbound LL protocol packets processed", | 87 | "Number of inbound LL protocol packets processed", |