diff options
author | Teravus Ovares | 2008-01-16 05:48:40 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-01-16 05:48:40 +0000 |
commit | 5dd741267eae5c7dfcd20372ba1b43904dd4503a (patch) | |
tree | 15bc97bf2552a6fb45aec9eea401aa9a80190efc /OpenSim/Region/Environment/Scenes/Scene.cs | |
parent | * Added Packets In/s, Packets Out/s and Current un_acked Packets to the SimSt... (diff) | |
download | opensim-SC-5dd741267eae5c7dfcd20372ba1b43904dd4503a.zip opensim-SC-5dd741267eae5c7dfcd20372ba1b43904dd4503a.tar.gz opensim-SC-5dd741267eae5c7dfcd20372ba1b43904dd4503a.tar.bz2 opensim-SC-5dd741267eae5c7dfcd20372ba1b43904dd4503a.tar.xz |
* Added Agent Time, Pending Downloads, and made Agent Updates/Sec actually accurate.
* We're only missing, the script related sim stats counters and the Images time counter and the Pending Uploads counter. The rest of them are actually implemented now.
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 | ||