diff options
Diffstat (limited to 'OpenSim/Region/ClientStack')
-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 cc4de10..0e9f1b7 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | |||
@@ -500,6 +500,19 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
500 | m_scene = (Scene)scene; | 500 | m_scene = (Scene)scene; |
501 | m_location = new Location(m_scene.RegionInfo.RegionHandle); | 501 | m_location = new Location(m_scene.RegionInfo.RegionHandle); |
502 | 502 | ||
503 | StatsManager.RegisterStat( | ||
504 | new Stat( | ||
505 | "InboxPacketsCount", | ||
506 | "Number of LL protocol packets waiting for the second stage of processing after initial receive.", | ||
507 | "Number of LL protocol packets waiting for the second stage of processing after initial receive.", | ||
508 | "", | ||
509 | "clientstack", | ||
510 | scene.Name, | ||
511 | StatType.Pull, | ||
512 | MeasuresOfInterest.AverageChangeOverTime, | ||
513 | stat => stat.Value = packetInbox.Count, | ||
514 | StatVerbosity.Debug)); | ||
515 | |||
503 | // XXX: These stats are also pool stats but we register them separately since they are currently not | 516 | // XXX: These stats are also pool stats but we register them separately since they are currently not |
504 | // turned on and off by EnablePools()/DisablePools() | 517 | // turned on and off by EnablePools()/DisablePools() |
505 | StatsManager.RegisterStat( | 518 | StatsManager.RegisterStat( |