mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 11:57:03 +08:00
Display existing statistic of how many http requests a server is making as server.network.HTTPRequestsMade in "show stats all"
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
using log4net;
|
||||
@@ -247,6 +248,10 @@ namespace OpenSim.Framework.Monitoring
|
||||
|
||||
lock (m_samples)
|
||||
{
|
||||
// m_log.DebugFormat(
|
||||
// "[STAT]: Samples for {0} are {1}",
|
||||
// Name, string.Join(",", m_samples.Select(s => s.ToString()).ToArray()));
|
||||
|
||||
foreach (double s in m_samples)
|
||||
{
|
||||
if (lastSample != null)
|
||||
|
||||
Reference in New Issue
Block a user