diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SimStatsReporter.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SimStatsReporter.cs | 10 |
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) |