aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-07-19 00:16:09 +0100
committerDiva Canto2013-07-21 08:58:39 -0700
commite5c677779b8501c245e5399240ffe3ca2519ec72 (patch)
treea80a7cffda5fedc076364f4faedd27196c1d00a1 /OpenSim/Region/ClientStack/Linden/UDP
parentHack in console command "debug lludp toggle agentupdate" to allow AgentUpdate... (diff)
downloadopensim-SC_OLD-e5c677779b8501c245e5399240ffe3ca2519ec72.zip
opensim-SC_OLD-e5c677779b8501c245e5399240ffe3ca2519ec72.tar.gz
opensim-SC_OLD-e5c677779b8501c245e5399240ffe3ca2519ec72.tar.bz2
opensim-SC_OLD-e5c677779b8501c245e5399240ffe3ca2519ec72.tar.xz
Add measure of number of inbound AgentUpdates that were seen as significant to "show client stats" (i.e. sent on for further processing instead of being discarded)
Added here since it was the most convenient place Number is in the last column, "Sig. AgentUpdates" along with percentage of all AgentUpdates Percentage largely falls over time, most cpu for processing AgentUpdates may be in UDP processing as turning this off even earlier (with "debug lludp toggle agentupdate" results in a big cpu fall Also tidies up display.
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index 711a574..3145275 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -5565,6 +5565,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
5565 5565
5566 #region Packet Handlers 5566 #region Packet Handlers
5567 5567
5568 public int TotalSignificantAgentUpdates { get; private set; }
5569
5568 #region Scene/Avatar 5570 #region Scene/Avatar
5569 5571
5570 private bool HandleAgentUpdate(IClientAPI sener, Packet packet) 5572 private bool HandleAgentUpdate(IClientAPI sener, Packet packet)
@@ -5614,6 +5616,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
5614 if (update) 5616 if (update)
5615 { 5617 {
5616// m_log.DebugFormat("[LLCLIENTVIEW]: Triggered AgentUpdate for {0}", sener.Name); 5618// m_log.DebugFormat("[LLCLIENTVIEW]: Triggered AgentUpdate for {0}", sener.Name);
5619 TotalSignificantAgentUpdates++;
5617 5620
5618 m_lastAgentUpdateArgs.AgentID = x.AgentID; 5621 m_lastAgentUpdateArgs.AgentID = x.AgentID;
5619 m_lastAgentUpdateArgs.BodyRotation = x.BodyRotation; 5622 m_lastAgentUpdateArgs.BodyRotation = x.BodyRotation;