aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SimStatsReporter.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/SimStatsReporter.cs11
1 files changed, 8 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SimStatsReporter.cs b/OpenSim/Region/Framework/Scenes/SimStatsReporter.cs
index 039e9a7..91e1f2c 100644
--- a/OpenSim/Region/Framework/Scenes/SimStatsReporter.cs
+++ b/OpenSim/Region/Framework/Scenes/SimStatsReporter.cs
@@ -407,7 +407,7 @@ namespace OpenSim.Region.Framework.Scenes
407// private static readonly log4net.ILog m_log 407// private static readonly log4net.ILog m_log
408// = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); 408// = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
409 409
410 public void addPendingDownload(int count) 410 public void AddPendingDownloads(int count)
411 { 411 {
412 m_pendingDownloads += count; 412 m_pendingDownloads += count;
413 if (m_pendingDownloads < 0) m_pendingDownloads = 0; 413 if (m_pendingDownloads < 0) m_pendingDownloads = 0;
@@ -437,13 +437,18 @@ namespace OpenSim.Region.Framework.Scenes
437 return lastReportedSimFPS; 437 return lastReportedSimFPS;
438 } 438 }
439 439
440 public void AddPacketsFromClientStats(int inPackets, int outPackets, int unAckedBytes) 440 public void AddPacketsStats(int inPackets, int outPackets, int unAckedBytes)
441 { 441 {
442 AddInPackets(inPackets); 442 AddInPackets(inPackets);
443 AddOutPackets(outPackets); 443 AddOutPackets(outPackets);
444 AddunAckedBytes(unAckedBytes); 444 AddunAckedBytes(unAckedBytes);
445
446 } 445 }
446
447 public void AddAgentTime(int ms)
448 {
449 addFrameMS(ms);
450 addAgentMS(ms);
451 }
447 452
448 #endregion 453 #endregion
449 } 454 }