aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs
diff options
context:
space:
mode:
authorTeravus Ovares2008-12-21 00:11:54 +0000
committerTeravus Ovares2008-12-21 00:11:54 +0000
commit119104e35bc02e15a1ce08175ca6408fb8e9f7be (patch)
tree1f206e4380b559b856f7d03da79b3aff9f5b9712 /OpenSim/Region/Environment/Scenes/SimStatsReporter.cs
parentSlowing things down even more on TPs, to see if that helps the European folks... (diff)
downloadopensim-SC_OLD-119104e35bc02e15a1ce08175ca6408fb8e9f7be.zip
opensim-SC_OLD-119104e35bc02e15a1ce08175ca6408fb8e9f7be.tar.gz
opensim-SC_OLD-119104e35bc02e15a1ce08175ca6408fb8e9f7be.tar.bz2
opensim-SC_OLD-119104e35bc02e15a1ce08175ca6408fb8e9f7be.tar.xz
* Re-implement packet tracking in IClientAPI so we can see what's going on in the client network in the simstats manager. This makes packets in per second, packets out per second, and unacked bytes work again in the simulator stats section.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/SimStatsReporter.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs b/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs
index 70287fc..c614f78 100644
--- a/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs
+++ b/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs
@@ -409,6 +409,14 @@ namespace OpenSim.Region.Environment.Scenes
409 return lastReportedSimFPS; 409 return lastReportedSimFPS;
410 } 410 }
411 411
412 public void AddPacketsFromClientStats(int inPackets, int outPackets, int unAckedBytes)
413 {
414 AddInPackets(inPackets);
415 AddOutPackets(outPackets);
416 AddunAckedBytes(unAckedBytes);
417
418 }
419
412 #endregion 420 #endregion
413 } 421 }
414} 422}