aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Monitoring/MemoryWatchdog.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-01-10 01:30:00 +0000
committerJustin Clark-Casey (justincc)2013-01-10 01:30:00 +0000
commit84407e322f6469a3001b390f7c516f4eabaad1e6 (patch)
tree24fdf761fddc5f4726c00fefaa811f36845ba8b8 /OpenSim/Framework/Monitoring/MemoryWatchdog.cs
parentAdd "show script timers" command to show script timers. For debug purposes. (diff)
downloadopensim-SC_OLD-84407e322f6469a3001b390f7c516f4eabaad1e6.zip
opensim-SC_OLD-84407e322f6469a3001b390f7c516f4eabaad1e6.tar.gz
opensim-SC_OLD-84407e322f6469a3001b390f7c516f4eabaad1e6.tar.bz2
opensim-SC_OLD-84407e322f6469a3001b390f7c516f4eabaad1e6.tar.xz
revert accidental change to MemoryWatchdog stat calculation in previous b1b4687
Diffstat (limited to 'OpenSim/Framework/Monitoring/MemoryWatchdog.cs')
-rw-r--r--OpenSim/Framework/Monitoring/MemoryWatchdog.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Monitoring/MemoryWatchdog.cs b/OpenSim/Framework/Monitoring/MemoryWatchdog.cs
index bc5ed97..c6010cd 100644
--- a/OpenSim/Framework/Monitoring/MemoryWatchdog.cs
+++ b/OpenSim/Framework/Monitoring/MemoryWatchdog.cs
@@ -72,7 +72,7 @@ namespace OpenSim.Framework.Monitoring
72 /// </summary> 72 /// </summary>
73 public static double LastMemoryChurn 73 public static double LastMemoryChurn
74 { 74 {
75 get { if (m_samples.Count > 0) return m_samples.First(); else return 0; } 75 get { if (m_samples.Count > 0) return m_samples.Last(); else return 0; }
76 } 76 }
77 77
78 /// <summary> 78 /// <summary>