diff options
Diffstat (limited to 'OpenSim/Framework/Monitoring/ServerStatsCollector.cs')
-rw-r--r-- | OpenSim/Framework/Monitoring/ServerStatsCollector.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Framework/Monitoring/ServerStatsCollector.cs b/OpenSim/Framework/Monitoring/ServerStatsCollector.cs index 5d1c270..b22da1d 100644 --- a/OpenSim/Framework/Monitoring/ServerStatsCollector.cs +++ b/OpenSim/Framework/Monitoring/ServerStatsCollector.cs | |||
@@ -242,10 +242,10 @@ namespace OpenSim.Framework.Monitoring | |||
242 | (s) => { s.Value = Process.GetCurrentProcess().WorkingSet64 / 1024d / 1024d; }); | 242 | (s) => { s.Value = Process.GetCurrentProcess().WorkingSet64 / 1024d / 1024d; }); |
243 | MakeStat("ObjectMemory", null, "MB", ContainerMemory, | 243 | MakeStat("ObjectMemory", null, "MB", ContainerMemory, |
244 | (s) => { s.Value = GC.GetTotalMemory(false) / 1024d / 1024d; }); | 244 | (s) => { s.Value = GC.GetTotalMemory(false) / 1024d / 1024d; }); |
245 | MakeStat("LastMemoryChurn", null, "MB/sec", ContainerMemory, | 245 | MakeStat("LastHeapAllocationRate", null, "MB/sec", ContainerMemory, |
246 | (s) => { s.Value = Math.Round(MemoryWatchdog.LastMemoryChurn * 1000d / 1024d / 1024d, 3); }); | 246 | (s) => { s.Value = Math.Round(MemoryWatchdog.LastHeapAllocationRate * 1000d / 1024d / 1024d, 3); }); |
247 | MakeStat("AverageMemoryChurn", null, "MB/sec", ContainerMemory, | 247 | MakeStat("AverageHeapAllocationRate", null, "MB/sec", ContainerMemory, |
248 | (s) => { s.Value = Math.Round(MemoryWatchdog.AverageMemoryChurn * 1000d / 1024d / 1024d, 3); }); | 248 | (s) => { s.Value = Math.Round(MemoryWatchdog.AverageHeapAllocationRate * 1000d / 1024d / 1024d, 3); }); |
249 | } | 249 | } |
250 | 250 | ||
251 | // Notes on performance counters: | 251 | // Notes on performance counters: |