minor: Change "memory churn" terminology in statistics to "heap allocation rate" since this is more generally meaningful

This commit is contained in:
Justin Clark-Casey (justincc)
2013-06-20 00:32:12 +01:00
parent d97333255d
commit 5b1a9f84fd
3 changed files with 14 additions and 14 deletions

View File

@@ -60,17 +60,17 @@ namespace OpenSim.Framework.Monitoring
private static bool m_enabled;
/// <summary>
/// Last memory churn in bytes per millisecond.
/// Average heap allocation rate in bytes per millisecond.
/// </summary>
public static double AverageMemoryChurn
public static double AverageHeapAllocationRate
{
get { if (m_samples.Count > 0) return m_samples.Average(); else return 0; }
}
/// <summary>
/// Average memory churn in bytes per millisecond.
/// Last heap allocation in bytes
/// </summary>
public static double LastMemoryChurn
public static double LastHeapAllocationRate
{
get { if (m_samples.Count > 0) return m_samples.Last(); else return 0; }
}