Add "show script timers" command to show script timers. For debug purposes.

Also, "show sensors" changes to "show script sensors".
This commit is contained in:
Justin Clark-Casey (justincc)
2013-01-10 00:57:49 +00:00
parent 9ddddde42e
commit 2563553f80
4 changed files with 82 additions and 36 deletions

View File

@@ -72,7 +72,7 @@ namespace OpenSim.Framework.Monitoring
/// </summary>
public static double LastMemoryChurn
{
get { if (m_samples.Count > 0) return m_samples.Last(); else return 0; }
get { if (m_samples.Count > 0) return m_samples.First(); else return 0; }
}
/// <summary>