diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/Monitoring/Monitors/GCMemoryMonitor.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/Monitoring/Monitors/GCMemoryMonitor.cs b/OpenSim/Region/CoreModules/Framework/Monitoring/Monitors/GCMemoryMonitor.cs index aa2e9c0..3f4d4a2 100644 --- a/OpenSim/Region/CoreModules/Framework/Monitoring/Monitors/GCMemoryMonitor.cs +++ b/OpenSim/Region/CoreModules/Framework/Monitoring/Monitors/GCMemoryMonitor.cs | |||
@@ -33,12 +33,17 @@ namespace OpenSim.Region.CoreModules.Framework.Monitoring.Monitors | |||
33 | { | 33 | { |
34 | #region Implementation of IMonitor | 34 | #region Implementation of IMonitor |
35 | 35 | ||
36 | public string GetName() | ||
37 | { | ||
38 | return "GCMemoryMonitor"; | ||
39 | } | ||
40 | |||
36 | public double GetValue() | 41 | public double GetValue() |
37 | { | 42 | { |
38 | return GC.GetTotalMemory(false); | 43 | return GC.GetTotalMemory(false); |
39 | } | 44 | } |
40 | 45 | ||
41 | public string GetName() | 46 | public string GetFriendlyName() |
42 | { | 47 | { |
43 | return "GC Reported Memory"; | 48 | return "GC Reported Memory"; |
44 | } | 49 | } |