diff options
author | Justin Clark-Casey (justincc) | 2013-01-10 00:57:49 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-01-10 00:57:49 +0000 |
commit | b1b46872500476cf97b5de8c16012b8545fed0c7 (patch) | |
tree | dd5de51ed39c41bbf4f94e0e717d79b7639f6e13 /OpenSim/Framework/Monitoring | |
parent | Add "show sensors" command to show script sensor information for debug purposes. (diff) | |
download | opensim-SC_OLD-b1b46872500476cf97b5de8c16012b8545fed0c7.zip opensim-SC_OLD-b1b46872500476cf97b5de8c16012b8545fed0c7.tar.gz opensim-SC_OLD-b1b46872500476cf97b5de8c16012b8545fed0c7.tar.bz2 opensim-SC_OLD-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 'OpenSim/Framework/Monitoring')
-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 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> |