aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Monitoring/Stats/Stat.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-06-19 20:48:12 +0100
committerJustin Clark-Casey (justincc)2013-06-19 20:48:12 +0100
commit84af1cab9ba991b2356f1025cab7f58433e2ec19 (patch)
treea8e0b752502e0486d1927a29448d37ab4300877a /OpenSim/Framework/Monitoring/Stats/Stat.cs
parentMantis 6608: Math error in parcel dimensions/borders seen with land show command (diff)
downloadopensim-SC-84af1cab9ba991b2356f1025cab7f58433e2ec19.zip
opensim-SC-84af1cab9ba991b2356f1025cab7f58433e2ec19.tar.gz
opensim-SC-84af1cab9ba991b2356f1025cab7f58433e2ec19.tar.bz2
opensim-SC-84af1cab9ba991b2356f1025cab7f58433e2ec19.tar.xz
Display existing statistic of how many http requests a server is making as server.network.HTTPRequestsMade in "show stats all"
Diffstat (limited to 'OpenSim/Framework/Monitoring/Stats/Stat.cs')
-rw-r--r--OpenSim/Framework/Monitoring/Stats/Stat.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Framework/Monitoring/Stats/Stat.cs b/OpenSim/Framework/Monitoring/Stats/Stat.cs
index eb5599f..85d1a78 100644
--- a/OpenSim/Framework/Monitoring/Stats/Stat.cs
+++ b/OpenSim/Framework/Monitoring/Stats/Stat.cs
@@ -27,6 +27,7 @@
27 27
28using System; 28using System;
29using System.Collections.Generic; 29using System.Collections.Generic;
30using System.Linq;
30using System.Reflection; 31using System.Reflection;
31using System.Text; 32using System.Text;
32using log4net; 33using log4net;
@@ -247,6 +248,10 @@ namespace OpenSim.Framework.Monitoring
247 248
248 lock (m_samples) 249 lock (m_samples)
249 { 250 {
251// m_log.DebugFormat(
252// "[STAT]: Samples for {0} are {1}",
253// Name, string.Join(",", m_samples.Select(s => s.ToString()).ToArray()));
254
250 foreach (double s in m_samples) 255 foreach (double s in m_samples)
251 { 256 {
252 if (lastSample != null) 257 if (lastSample != null)