diff options
author | Justin Clark-Casey (justincc) | 2013-06-19 20:48:12 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-06-19 20:48:12 +0100 |
commit | 84af1cab9ba991b2356f1025cab7f58433e2ec19 (patch) | |
tree | a8e0b752502e0486d1927a29448d37ab4300877a /OpenSim/Framework/Monitoring/Stats/Stat.cs | |
parent | Mantis 6608: Math error in parcel dimensions/borders seen with land show command (diff) | |
download | opensim-SC_OLD-84af1cab9ba991b2356f1025cab7f58433e2ec19.zip opensim-SC_OLD-84af1cab9ba991b2356f1025cab7f58433e2ec19.tar.gz opensim-SC_OLD-84af1cab9ba991b2356f1025cab7f58433e2ec19.tar.bz2 opensim-SC_OLD-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.cs | 5 |
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 | ||
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Linq; | ||
30 | using System.Reflection; | 31 | using System.Reflection; |
31 | using System.Text; | 32 | using System.Text; |
32 | using log4net; | 33 | using 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) |