mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
minor: Change "memory churn" terminology in statistics to "heap allocation rate" since this is more generally meaningful
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user