aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorTeravus Ovares (Dan Olivares)2009-11-27 19:17:36 -0500
committerTeravus Ovares (Dan Olivares)2009-11-27 19:17:36 -0500
commit8296413add95ce2a56f308fa7e762196155dd028 (patch)
treef0684a65d18e1b05d1a1c83d051aeec1d3fa6575 /OpenSim/Region/Framework/Scenes
parentMerge branch 'master' of ssh://MyConnection/var/git/opensim (diff)
downloadopensim-SC-8296413add95ce2a56f308fa7e762196155dd028.zip
opensim-SC-8296413add95ce2a56f308fa7e762196155dd028.tar.gz
opensim-SC-8296413add95ce2a56f308fa7e762196155dd028.tar.bz2
opensim-SC-8296413add95ce2a56f308fa7e762196155dd028.tar.xz
* Re-enable lightweight packet tracking stats on a 3000 ms interval.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/SimStatsReporter.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SimStatsReporter.cs b/OpenSim/Region/Framework/Scenes/SimStatsReporter.cs
index 56c6ed6..3b5455f 100644
--- a/OpenSim/Region/Framework/Scenes/SimStatsReporter.cs
+++ b/OpenSim/Region/Framework/Scenes/SimStatsReporter.cs
@@ -238,7 +238,7 @@ namespace OpenSim.Region.Framework.Scenes
238 sb[12].StatValue = m_otherMS / statsUpdateFactor; 238 sb[12].StatValue = m_otherMS / statsUpdateFactor;
239 239
240 sb[13].StatID = (uint)Stats.InPacketsPerSecond; 240 sb[13].StatID = (uint)Stats.InPacketsPerSecond;
241 sb[13].StatValue = (m_inPacketsPerSecond); 241 sb[13].StatValue = (m_inPacketsPerSecond / statsUpdateFactor);
242 242
243 sb[14].StatID = (uint)Stats.OutPacketsPerSecond; 243 sb[14].StatID = (uint)Stats.OutPacketsPerSecond;
244 sb[14].StatValue = (m_outPacketsPerSecond / statsUpdateFactor); 244 sb[14].StatValue = (m_outPacketsPerSecond / statsUpdateFactor);
@@ -285,8 +285,8 @@ namespace OpenSim.Region.Framework.Scenes
285 m_fps = 0; 285 m_fps = 0;
286 m_pfps = 0; 286 m_pfps = 0;
287 m_agentUpdates = 0; 287 m_agentUpdates = 0;
288 m_inPacketsPerSecond = 0; 288 //m_inPacketsPerSecond = 0;
289 m_outPacketsPerSecond = 0; 289 //m_outPacketsPerSecond = 0;
290 m_unAckedBytes = 0; 290 m_unAckedBytes = 0;
291 m_scriptLinesPerSecond = 0; 291 m_scriptLinesPerSecond = 0;
292 292
@@ -373,12 +373,12 @@ namespace OpenSim.Region.Framework.Scenes
373 373
374 public void AddInPackets(int numPackets) 374 public void AddInPackets(int numPackets)
375 { 375 {
376 m_inPacketsPerSecond += numPackets; 376 m_inPacketsPerSecond = numPackets;
377 } 377 }
378 378
379 public void AddOutPackets(int numPackets) 379 public void AddOutPackets(int numPackets)
380 { 380 {
381 m_outPacketsPerSecond += numPackets; 381 m_outPacketsPerSecond = numPackets;
382 } 382 }
383 383
384 public void AddunAckedBytes(int numBytes) 384 public void AddunAckedBytes(int numBytes)