aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Framework/Monitoring/IMonitor.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/IMonitor.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 '')
-rw-r--r--OpenSim/Region/CoreModules/Framework/Monitoring/IMonitor.cs27
1 files changed, 25 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/Monitoring/IMonitor.cs b/OpenSim/Region/CoreModules/Framework/Monitoring/IMonitor.cs
index 9f618cc..72c7a4a 100644
--- a/OpenSim/Region/CoreModules/Framework/Monitoring/IMonitor.cs
+++ b/OpenSim/Region/CoreModules/Framework/Monitoring/IMonitor.cs
@@ -29,8 +29,31 @@ namespace OpenSim.Region.CoreModules.Framework.Monitoring
29{ 29{
30 interface IMonitor 30 interface IMonitor
31 { 31 {
32 double GetValue(); 32 /// <summary>
33 /// Name of the monitor.
34 /// </summary>
35 /// <remarks>
36 /// This is the name used in XML.
37 /// </remarks>
38 /// <returns></returns>
33 string GetName(); 39 string GetName();
34 string GetFriendlyValue(); // Convert to readable numbers 40
41 /// <summary>
42 /// Value of this monitor
43 /// </summary>
44 /// <returns></returns>
45 double GetValue();
46
47 /// <summary>
48 /// Human-readable name of the monitor
49 /// </summary>
50 /// <returns></returns>
51 string GetFriendlyName();
52
53 /// <summary>
54 /// Human readable value.
55 /// </summary>
56 /// <returns></returns>
57 string GetFriendlyValue();
35 } 58 }
36} 59}