diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Statistics/SimExtraStatsCollector.cs | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/OpenSim/Framework/Statistics/SimExtraStatsCollector.cs b/OpenSim/Framework/Statistics/SimExtraStatsCollector.cs index 5449757..3035a62 100644 --- a/OpenSim/Framework/Statistics/SimExtraStatsCollector.cs +++ b/OpenSim/Framework/Statistics/SimExtraStatsCollector.cs | |||
@@ -148,7 +148,8 @@ namespace OpenSim.Framework.Statistics | |||
148 | /// cover situations where the inventory service accepts the request but never returns any data, since | 148 | /// cover situations where the inventory service accepts the request but never returns any data, since |
149 | /// we do not yet timeout this situation. | 149 | /// we do not yet timeout this situation. |
150 | /// </summary> | 150 | /// </summary> |
151 | public long InventoryServiceRetrievalFailures { get { return inventoryServiceRetrievalFailures; } } | 151 | /// <remarks>Commented out because we do not cache inventory at this point</remarks> |
152 | // public long InventoryServiceRetrievalFailures { get { return inventoryServiceRetrievalFailures; } } | ||
152 | 153 | ||
153 | /// <summary> | 154 | /// <summary> |
154 | /// Retrieve the total frame time (in ms) of the last frame | 155 | /// Retrieve the total frame time (in ms) of the last frame |
@@ -219,10 +220,10 @@ namespace OpenSim.Framework.Statistics | |||
219 | assetServiceRequestFailures++; | 220 | assetServiceRequestFailures++; |
220 | } | 221 | } |
221 | 222 | ||
222 | public void AddInventoryServiceRetrievalFailure() | 223 | // public void AddInventoryServiceRetrievalFailure() |
223 | { | 224 | // { |
224 | inventoryServiceRetrievalFailures++; | 225 | // inventoryServiceRetrievalFailures++; |
225 | } | 226 | // } |
226 | 227 | ||
227 | /// <summary> | 228 | /// <summary> |
228 | /// Register as a packet queue stats provider | 229 | /// Register as a packet queue stats provider |
@@ -328,13 +329,13 @@ Asset service request failures: {3}" + Environment.NewLine, | |||
328 | "Abnormal client thread terminations: {0}" + Environment.NewLine, | 329 | "Abnormal client thread terminations: {0}" + Environment.NewLine, |
329 | abnormalClientThreadTerminations)); | 330 | abnormalClientThreadTerminations)); |
330 | 331 | ||
331 | sb.Append(Environment.NewLine); | 332 | // sb.Append(Environment.NewLine); |
332 | sb.Append("INVENTORY STATISTICS"); | 333 | // sb.Append("INVENTORY STATISTICS"); |
333 | sb.Append(Environment.NewLine); | 334 | // sb.Append(Environment.NewLine); |
334 | sb.Append( | 335 | // sb.Append( |
335 | string.Format( | 336 | // string.Format( |
336 | "Initial inventory caching failures: {0}" + Environment.NewLine, | 337 | // "Initial inventory caching failures: {0}" + Environment.NewLine, |
337 | InventoryServiceRetrievalFailures)); | 338 | // InventoryServiceRetrievalFailures)); |
338 | 339 | ||
339 | sb.Append(Environment.NewLine); | 340 | sb.Append(Environment.NewLine); |
340 | sb.Append("FRAME STATISTICS"); | 341 | sb.Append("FRAME STATISTICS"); |
@@ -399,8 +400,8 @@ Asset service request failures: {3}" + Environment.NewLine, | |||
399 | AssetServiceRequestFailures)); | 400 | AssetServiceRequestFailures)); |
400 | args["abnormalClientThreadTerminations"] = OSD.FromString (String.Format ("{0:0.##}", | 401 | args["abnormalClientThreadTerminations"] = OSD.FromString (String.Format ("{0:0.##}", |
401 | abnormalClientThreadTerminations)); | 402 | abnormalClientThreadTerminations)); |
402 | args["InventoryServiceRetrievalFailures"] = OSD.FromString (String.Format ("{0:0.##}", | 403 | // args["InventoryServiceRetrievalFailures"] = OSD.FromString (String.Format ("{0:0.##}", |
403 | InventoryServiceRetrievalFailures)); | 404 | // InventoryServiceRetrievalFailures)); |
404 | args["Dilatn"] = OSD.FromString (String.Format ("{0:0.##}", timeDilation)); | 405 | args["Dilatn"] = OSD.FromString (String.Format ("{0:0.##}", timeDilation)); |
405 | args["SimFPS"] = OSD.FromString (String.Format ("{0:0.##}", simFps)); | 406 | args["SimFPS"] = OSD.FromString (String.Format ("{0:0.##}", simFps)); |
406 | args["PhyFPS"] = OSD.FromString (String.Format ("{0:0.##}", physicsFps)); | 407 | args["PhyFPS"] = OSD.FromString (String.Format ("{0:0.##}", physicsFps)); |