diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 16055de..f1a1843 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -607,7 +607,6 @@ namespace OpenSim.Region.Environment.Scenes | |||
607 | m_statsReporter.AddPhysicsFPS(physicsFPS); | 607 | m_statsReporter.AddPhysicsFPS(physicsFPS); |
608 | m_statsReporter.SetTimeDilation(m_timedilation); | 608 | m_statsReporter.SetTimeDilation(m_timedilation); |
609 | m_statsReporter.AddFPS(1); | 609 | m_statsReporter.AddFPS(1); |
610 | m_statsReporter.AddAgentUpdates(1); | ||
611 | m_statsReporter.AddInPackets(0); | 610 | m_statsReporter.AddInPackets(0); |
612 | m_statsReporter.SetRootAgents(m_innerScene.GetRootAgentCount()); | 611 | m_statsReporter.SetRootAgents(m_innerScene.GetRootAgentCount()); |
613 | m_statsReporter.SetChildAgents(m_innerScene.GetChildAgentCount()); | 612 | m_statsReporter.SetChildAgents(m_innerScene.GetChildAgentCount()); |
@@ -1766,6 +1765,20 @@ namespace OpenSim.Region.Environment.Scenes | |||
1766 | m_statsReporter.AddOutPackets(outPackets); | 1765 | m_statsReporter.AddOutPackets(outPackets); |
1767 | m_statsReporter.AddunAckedBytes(unAckedBytes); | 1766 | m_statsReporter.AddunAckedBytes(unAckedBytes); |
1768 | } | 1767 | } |
1768 | public void AddAgentTime(int ms) | ||
1769 | { | ||
1770 | m_statsReporter.addFrameMS(ms); | ||
1771 | m_statsReporter.addAgentMS(ms); | ||
1772 | } | ||
1773 | public void AddAgentUpdates(int count) | ||
1774 | { | ||
1775 | m_statsReporter.AddAgentUpdates(count); | ||
1776 | } | ||
1777 | |||
1778 | public void AddPendingDownloads(int count) | ||
1779 | { | ||
1780 | m_statsReporter.addPendingDownload(count); | ||
1781 | } | ||
1769 | 1782 | ||
1770 | #endregion | 1783 | #endregion |
1771 | 1784 | ||