diff options
author | Justin Clark-Casey (justincc) | 2011-10-11 22:17:05 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-10-11 22:17:05 +0100 |
commit | fe3594c5ea4fe36f862375f76d088f64d2dfb269 (patch) | |
tree | aeb7371c1a9778a919226978440f284024c91f55 /OpenSim/Region/CoreModules | |
parent | meaningless change to goose panda (diff) | |
download | opensim-SC-fe3594c5ea4fe36f862375f76d088f64d2dfb269.zip opensim-SC-fe3594c5ea4fe36f862375f76d088f64d2dfb269.tar.gz opensim-SC-fe3594c5ea4fe36f862375f76d088f64d2dfb269.tar.bz2 opensim-SC-fe3594c5ea4fe36f862375f76d088f64d2dfb269.tar.xz |
Start recording object updates per second statistic (analogue of agent updates per secod) and expose via monitoring module as ObjectUpdatePerSecondMonitor
A useful diagnostic to find out how object updates are burdening a scene
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/Monitoring/MonitorModule.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/Monitoring/MonitorModule.cs b/OpenSim/Region/CoreModules/Framework/Monitoring/MonitorModule.cs index 64997af..a75d94a 100644 --- a/OpenSim/Region/CoreModules/Framework/Monitoring/MonitorModule.cs +++ b/OpenSim/Region/CoreModules/Framework/Monitoring/MonitorModule.cs | |||
@@ -203,6 +203,14 @@ namespace OpenSim.Region.CoreModules.Framework.Monitoring | |||
203 | m_monitors.Add( | 203 | m_monitors.Add( |
204 | new GenericMonitor( | 204 | new GenericMonitor( |
205 | m_scene, | 205 | m_scene, |
206 | "ObjectUpdatesPerSecondMonitor", | ||
207 | "Object Updates", | ||
208 | m => m.Scene.StatsReporter.LastReportedObjectUpdates, | ||
209 | m => string.Format("{0} per second", m.GetValue()))); | ||
210 | |||
211 | m_monitors.Add( | ||
212 | new GenericMonitor( | ||
213 | m_scene, | ||
206 | "ActiveObjectCountMonitor", | 214 | "ActiveObjectCountMonitor", |
207 | "Active Objects", | 215 | "Active Objects", |
208 | m => m.Scene.StatsReporter.LastReportedSimStats[7], | 216 | m => m.Scene.StatsReporter.LastReportedSimStats[7], |