diff options
author | UbitUmarov | 2017-01-05 19:32:57 +0000 |
---|---|---|
committer | UbitUmarov | 2017-01-05 19:32:57 +0000 |
commit | 254b26a7d51143d4e08229fa0b0fceabd76a41d0 (patch) | |
tree | 8ed65006e5dc04e69ceba67e31075a9e505e64f6 /OpenSim/Framework/Monitoring/ServerStatsCollector.cs | |
parent | Merge branch 'master' into httptests (diff) | |
parent | Massive tab and trailing space cleanup (diff) | |
download | opensim-SC-254b26a7d51143d4e08229fa0b0fceabd76a41d0.zip opensim-SC-254b26a7d51143d4e08229fa0b0fceabd76a41d0.tar.gz opensim-SC-254b26a7d51143d4e08229fa0b0fceabd76a41d0.tar.bz2 opensim-SC-254b26a7d51143d4e08229fa0b0fceabd76a41d0.tar.xz |
fix merge
Diffstat (limited to 'OpenSim/Framework/Monitoring/ServerStatsCollector.cs')
-rw-r--r-- | OpenSim/Framework/Monitoring/ServerStatsCollector.cs | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/OpenSim/Framework/Monitoring/ServerStatsCollector.cs b/OpenSim/Framework/Monitoring/ServerStatsCollector.cs index be4a8b4..3391240 100644 --- a/OpenSim/Framework/Monitoring/ServerStatsCollector.cs +++ b/OpenSim/Framework/Monitoring/ServerStatsCollector.cs | |||
@@ -167,18 +167,18 @@ namespace OpenSim.Framework.Monitoring | |||
167 | } | 167 | } |
168 | 168 | ||
169 | MakeStat("BuiltinThreadpoolWorkerThreadsAvailable", null, "threads", ContainerThreadpool, | 169 | MakeStat("BuiltinThreadpoolWorkerThreadsAvailable", null, "threads", ContainerThreadpool, |
170 | s => | 170 | s => |
171 | { | 171 | { |
172 | int workerThreads, iocpThreads; | 172 | int workerThreads, iocpThreads; |
173 | ThreadPool.GetAvailableThreads(out workerThreads, out iocpThreads); | 173 | ThreadPool.GetAvailableThreads(out workerThreads, out iocpThreads); |
174 | s.Value = workerThreads; | 174 | s.Value = workerThreads; |
175 | }); | 175 | }); |
176 | 176 | ||
177 | MakeStat("BuiltinThreadpoolIOCPThreadsAvailable", null, "threads", ContainerThreadpool, | 177 | MakeStat("BuiltinThreadpoolIOCPThreadsAvailable", null, "threads", ContainerThreadpool, |
178 | s => | 178 | s => |
179 | { | 179 | { |
180 | int workerThreads, iocpThreads; | 180 | int workerThreads, iocpThreads; |
181 | ThreadPool.GetAvailableThreads(out workerThreads, out iocpThreads); | 181 | ThreadPool.GetAvailableThreads(out workerThreads, out iocpThreads); |
182 | s.Value = iocpThreads; | 182 | s.Value = iocpThreads; |
183 | }); | 183 | }); |
184 | 184 | ||
@@ -193,10 +193,10 @@ namespace OpenSim.Framework.Monitoring | |||
193 | } | 193 | } |
194 | 194 | ||
195 | MakeStat( | 195 | MakeStat( |
196 | "HTTPRequestsMade", | 196 | "HTTPRequestsMade", |
197 | "Number of outbound HTTP requests made", | 197 | "Number of outbound HTTP requests made", |
198 | "requests", | 198 | "requests", |
199 | ContainerNetwork, | 199 | ContainerNetwork, |
200 | s => s.Value = WebUtil.RequestNumber, | 200 | s => s.Value = WebUtil.RequestNumber, |
201 | MeasuresOfInterest.AverageChangeOverTime); | 201 | MeasuresOfInterest.AverageChangeOverTime); |
202 | 202 | ||
@@ -294,7 +294,7 @@ namespace OpenSim.Framework.Monitoring | |||
294 | }); | 294 | }); |
295 | } | 295 | } |
296 | 296 | ||
297 | // Notes on performance counters: | 297 | // Notes on performance counters: |
298 | // "How To Read Performance Counters": http://blogs.msdn.com/b/bclteam/archive/2006/06/02/618156.aspx | 298 | // "How To Read Performance Counters": http://blogs.msdn.com/b/bclteam/archive/2006/06/02/618156.aspx |
299 | // "How to get the CPU Usage in C#": http://stackoverflow.com/questions/278071/how-to-get-the-cpu-usage-in-c | 299 | // "How to get the CPU Usage in C#": http://stackoverflow.com/questions/278071/how-to-get-the-cpu-usage-in-c |
300 | // "Mono Performance Counters": http://www.mono-project.com/Mono_Performance_Counters | 300 | // "Mono Performance Counters": http://www.mono-project.com/Mono_Performance_Counters |