aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-01-10 00:57:49 +0000
committerJustin Clark-Casey (justincc)2013-01-25 23:49:06 +0000
commit2563553f80b109cbd955484865a0eb104983f206 (patch)
treea62f91b54fc822ab3e7a3b5db3bf5e3992457229 /OpenSim/Framework
parentAdd "show sensors" command to show script sensor information for debug purposes. (diff)
downloadopensim-SC-2563553f80b109cbd955484865a0eb104983f206.zip
opensim-SC-2563553f80b109cbd955484865a0eb104983f206.tar.gz
opensim-SC-2563553f80b109cbd955484865a0eb104983f206.tar.bz2
opensim-SC-2563553f80b109cbd955484865a0eb104983f206.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 'OpenSim/Framework')
-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>