From f95ad65189aaabceda0533e3bf5156f9af69e476 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Fri, 22 Feb 2008 23:15:00 +0000 Subject: * Improve alignment of packet queue stats headigns * Correct asset cache stats table heading * Correct spelling mistake in AssetCache (thanks ChrisD!) --- OpenSim/Framework/Communications/Cache/AssetCache.cs | 2 +- OpenSim/Framework/Statistics/SimExtraStatsReporter.cs | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Framework/Communications/Cache/AssetCache.cs b/OpenSim/Framework/Communications/Cache/AssetCache.cs index c1f6719..e3a4eb8 100644 --- a/OpenSim/Framework/Communications/Cache/AssetCache.cs +++ b/OpenSim/Framework/Communications/Cache/AssetCache.cs @@ -395,7 +395,7 @@ namespace OpenSim.Framework.Communications.Cache public void AssetReceived(AssetBase asset, bool IsTexture) { #if DEBUG - m_log.DebugFormat("[ASSET CACHE]: Recieved {0} [{1}]", IsTexture ? "texture" : "asset", asset.FullID); + m_log.DebugFormat("[ASSET CACHE]: Received {0} [{1}]", IsTexture ? "texture" : "asset", asset.FullID); #endif if (asset.FullID != LLUUID.Zero) // if it is set to zero then the asset wasn't found by the server diff --git a/OpenSim/Framework/Statistics/SimExtraStatsReporter.cs b/OpenSim/Framework/Statistics/SimExtraStatsReporter.cs index acf2ecb..a9a4b4e 100644 --- a/OpenSim/Framework/Statistics/SimExtraStatsReporter.cs +++ b/OpenSim/Framework/Statistics/SimExtraStatsReporter.cs @@ -103,7 +103,7 @@ namespace OpenSim.Framework.Statistics public string Report() { StringBuilder sb = new StringBuilder(Environment.NewLine); - sb.Append("PACKET QUEUE STATISTICS"); + sb.Append("ASSET CACHE STATISTICS"); sb.Append(Environment.NewLine); sb.Append( string.Format( @@ -115,9 +115,11 @@ Texture cache contains {2,6} textures using {3,10:0.000}K" + Environment.NewLine sb.Append(Environment.NewLine); sb.Append("PACKET QUEUE STATISTICS"); sb.Append(Environment.NewLine); - sb.Append("Agent UUID "); - sb.Append(" Send In Out Resend "); - sb.Append(" Land Wind Cloud Task Texture Asset"); + sb.Append("Agent UUID "); + sb.Append( + string.Format( + " {0,7} {1,7} {2,7} {3,7} {4,7} {5,7} {6,7} {7,7} {8,7} {9,7}", + "Send", "In", "Out", "Resend", "Land", "Wind", "Cloud", "Task", "Texture", "Asset")); sb.Append(Environment.NewLine); foreach (LLUUID key in packetQueueStatsReporters.Keys) -- cgit v1.1