aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Monitoring/MemoryWatchdog.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-06-20 00:32:12 +0100
committerJustin Clark-Casey (justincc)2013-06-20 00:32:12 +0100
commit5b1a9f84fdf4f9938180b403dd002b44e25c6efb (patch)
treef61da98b6dd3c37ef1036bbd5caeed68db4b732e /OpenSim/Framework/Monitoring/MemoryWatchdog.cs
parentFix minor bug where the check whether to display SmartThreadPool stats was ac... (diff)
downloadopensim-SC-5b1a9f84fdf4f9938180b403dd002b44e25c6efb.zip
opensim-SC-5b1a9f84fdf4f9938180b403dd002b44e25c6efb.tar.gz
opensim-SC-5b1a9f84fdf4f9938180b403dd002b44e25c6efb.tar.bz2
opensim-SC-5b1a9f84fdf4f9938180b403dd002b44e25c6efb.tar.xz
minor: Change "memory churn" terminology in statistics to "heap allocation rate" since this is more generally meaningful
Diffstat (limited to 'OpenSim/Framework/Monitoring/MemoryWatchdog.cs')
-rw-r--r--OpenSim/Framework/Monitoring/MemoryWatchdog.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Framework/Monitoring/MemoryWatchdog.cs b/OpenSim/Framework/Monitoring/MemoryWatchdog.cs
index c6010cd..c474622 100644
--- a/OpenSim/Framework/Monitoring/MemoryWatchdog.cs
+++ b/OpenSim/Framework/Monitoring/MemoryWatchdog.cs
@@ -60,17 +60,17 @@ namespace OpenSim.Framework.Monitoring
60 private static bool m_enabled; 60 private static bool m_enabled;
61 61
62 /// <summary> 62 /// <summary>
63 /// Last memory churn in bytes per millisecond. 63 /// Average heap allocation rate in bytes per millisecond.
64 /// </summary> 64 /// </summary>
65 public static double AverageMemoryChurn 65 public static double AverageHeapAllocationRate
66 { 66 {
67 get { if (m_samples.Count > 0) return m_samples.Average(); else return 0; } 67 get { if (m_samples.Count > 0) return m_samples.Average(); else return 0; }
68 } 68 }
69 69
70 /// <summary> 70 /// <summary>
71 /// Average memory churn in bytes per millisecond. 71 /// Last heap allocation in bytes
72 /// </summary> 72 /// </summary>
73 public static double LastMemoryChurn 73 public static double LastHeapAllocationRate
74 { 74 {
75 get { if (m_samples.Count > 0) return m_samples.Last(); else return 0; } 75 get { if (m_samples.Count > 0) return m_samples.Last(); else return 0; }
76 } 76 }