aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Framework/Monitoring/Monitors/ChildAgentCountMonitor.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-10-10 23:48:53 +0100
committerJustin Clark-Casey (justincc)2011-10-10 23:48:53 +0100
commit62aad4c18f1ebc0780ce47cf179f3d5550ff0837 (patch)
treec238bbc4d994b7577fa93a25fdbde5f9df2caac6 /OpenSim/Region/CoreModules/Framework/Monitoring/Monitors/ChildAgentCountMonitor.cs
parentConvert getLastReportedSimFPS() and getLastReportedSimStats() into more idiom... (diff)
downloadopensim-SC_OLD-62aad4c18f1ebc0780ce47cf179f3d5550ff0837.zip
opensim-SC_OLD-62aad4c18f1ebc0780ce47cf179f3d5550ff0837.tar.gz
opensim-SC_OLD-62aad4c18f1ebc0780ce47cf179f3d5550ff0837.tar.bz2
opensim-SC_OLD-62aad4c18f1ebc0780ce47cf179f3d5550ff0837.tar.xz
Add other region stats (total frame time, physics fps, etc.) currently missing from MonitorModule
Unlike the other 3 stats mechanisms, monitor data can be queried per individual region, which makes this useful. This doesn't affect an of the existing monitored stats.
Diffstat (limited to 'OpenSim/Region/CoreModules/Framework/Monitoring/Monitors/ChildAgentCountMonitor.cs')
-rw-r--r--OpenSim/Region/CoreModules/Framework/Monitoring/Monitors/ChildAgentCountMonitor.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/Monitoring/Monitors/ChildAgentCountMonitor.cs b/OpenSim/Region/CoreModules/Framework/Monitoring/Monitors/ChildAgentCountMonitor.cs
index 4ab3edd..be0e8fb 100644
--- a/OpenSim/Region/CoreModules/Framework/Monitoring/Monitors/ChildAgentCountMonitor.cs
+++ b/OpenSim/Region/CoreModules/Framework/Monitoring/Monitors/ChildAgentCountMonitor.cs
@@ -40,12 +40,17 @@ namespace OpenSim.Region.CoreModules.Framework.Monitoring.Monitors
40 40
41 #region Implementation of IMonitor 41 #region Implementation of IMonitor
42 42
43 public string GetName()
44 {
45 return "ChildAgentCountMonitor";
46 }
47
43 public double GetValue() 48 public double GetValue()
44 { 49 {
45 return m_scene.SceneGraph.GetChildAgentCount(); 50 return m_scene.SceneGraph.GetChildAgentCount();
46 } 51 }
47 52
48 public string GetName() 53 public string GetFriendlyName()
49 { 54 {
50 return "Child Agent Count"; 55 return "Child Agent Count";
51 } 56 }