diff options
author | Justin Clark-Casey (justincc) | 2012-06-01 04:45:42 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-06-01 04:47:11 +0100 |
commit | 72219eae7d3dac01e73ab5fdf84f05f8d0fa00cf (patch) | |
tree | c4046641409e21ce18452ef2d7c516f8517c7d1a /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | Add optional total avatars, total prims and active prims stats to ODE plugin. (diff) | |
download | opensim-SC-72219eae7d3dac01e73ab5fdf84f05f8d0fa00cf.zip opensim-SC-72219eae7d3dac01e73ab5fdf84f05f8d0fa00cf.tar.gz opensim-SC-72219eae7d3dac01e73ab5fdf84f05f8d0fa00cf.tar.bz2 opensim-SC-72219eae7d3dac01e73ab5fdf84f05f8d0fa00cf.tar.xz |
Instead of updating sim stats root agent, child, objects and scripts accounts every single scene frame, update in the once every 3 seconds SimStatsReporter run
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index ce386be..702e322 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -1462,10 +1462,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
1462 | StatsReporter.AddPhysicsFPS(physicsFPS); | 1462 | StatsReporter.AddPhysicsFPS(physicsFPS); |
1463 | StatsReporter.AddTimeDilation(TimeDilation); | 1463 | StatsReporter.AddTimeDilation(TimeDilation); |
1464 | StatsReporter.AddFPS(1); | 1464 | StatsReporter.AddFPS(1); |
1465 | StatsReporter.SetRootAgents(m_sceneGraph.GetRootAgentCount()); | ||
1466 | StatsReporter.SetChildAgents(m_sceneGraph.GetChildAgentCount()); | ||
1467 | StatsReporter.SetObjects(m_sceneGraph.GetTotalObjectsCount()); | ||
1468 | StatsReporter.SetActiveObjects(m_sceneGraph.GetActiveObjectsCount()); | ||
1469 | 1465 | ||
1470 | // frameMS currently records work frame times, not total frame times (work + any required sleep to | 1466 | // frameMS currently records work frame times, not total frame times (work + any required sleep to |
1471 | // reach min frame time. | 1467 | // reach min frame time. |
@@ -1474,7 +1470,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
1474 | StatsReporter.addAgentMS(agentMS); | 1470 | StatsReporter.addAgentMS(agentMS); |
1475 | StatsReporter.addPhysicsMS(physicsMS + physicsMS2); | 1471 | StatsReporter.addPhysicsMS(physicsMS + physicsMS2); |
1476 | StatsReporter.addOtherMS(otherMS); | 1472 | StatsReporter.addOtherMS(otherMS); |
1477 | StatsReporter.SetActiveScripts(m_sceneGraph.GetActiveScriptsCount()); | ||
1478 | StatsReporter.addScriptLines(m_sceneGraph.GetScriptLPS()); | 1473 | StatsReporter.addScriptLines(m_sceneGraph.GetScriptLPS()); |
1479 | 1474 | ||
1480 | if (LoginsDisabled && Frame == 20) | 1475 | if (LoginsDisabled && Frame == 20) |