diff options
author | Justin Clark-Casey (justincc) | 2013-01-10 01:30:00 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-01-25 23:49:14 +0000 |
commit | 30eded2bda61c444e1ddf3b5d03ddc7b3057fdce (patch) | |
tree | 0b7ad9a5d0f50817593213f0168d455219ef4f9a /OpenSim | |
parent | Add "show script timers" command to show script timers. For debug purposes. (diff) | |
download | opensim-SC_OLD-30eded2bda61c444e1ddf3b5d03ddc7b3057fdce.zip opensim-SC_OLD-30eded2bda61c444e1ddf3b5d03ddc7b3057fdce.tar.gz opensim-SC_OLD-30eded2bda61c444e1ddf3b5d03ddc7b3057fdce.tar.bz2 opensim-SC_OLD-30eded2bda61c444e1ddf3b5d03ddc7b3057fdce.tar.xz |
revert accidental change to MemoryWatchdog stat calculation in previous b1b4687
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Framework/Monitoring/MemoryWatchdog.cs | 2 |
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> |