aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Monitoring/MemoryWatchdog.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-01-10 00:57:49 +0000
committerJustin Clark-Casey (justincc)2013-01-10 00:57:49 +0000
commitb1b46872500476cf97b5de8c16012b8545fed0c7 (patch)
treedd5de51ed39c41bbf4f94e0e717d79b7639f6e13 /OpenSim/Framework/Monitoring/MemoryWatchdog.cs
parentAdd "show sensors" command to show script sensor information for debug purposes. (diff)
downloadopensim-SC-b1b46872500476cf97b5de8c16012b8545fed0c7.zip
opensim-SC-b1b46872500476cf97b5de8c16012b8545fed0c7.tar.gz
opensim-SC-b1b46872500476cf97b5de8c16012b8545fed0c7.tar.bz2
opensim-SC-b1b46872500476cf97b5de8c16012b8545fed0c7.tar.xz
Add "show script timers" command to show script timers. For debug purposes.
Also, "show sensors" changes to "show script sensors".
Diffstat (limited to '')
-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 c6010cd..bc5ed97 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.Last(); else return 0; } 75 get { if (m_samples.Count > 0) return m_samples.First(); else return 0; }
76 } 76 }
77 77
78 /// <summary> 78 /// <summary>