* Improve alignment of packet queue stats headigns

* Correct asset cache stats table heading
* Correct spelling mistake in AssetCache (thanks ChrisD!)
0.6.0-stable
Justin Clarke Casey 2008-02-22 23:15:00 +00:00
parent fed46ba6a7
commit f95ad65189
3 changed files with 8 additions and 5 deletions

View File

@ -44,6 +44,7 @@ Patches
* webmage (International Business Machines Corp.) * webmage (International Business Machines Corp.)
* jimbo2120 (International Business Machines Corp.) * jimbo2120 (International Business Machines Corp.)
* brianw/Sir_Ahzz * brianw/Sir_Ahzz
* ChrisDown
LSL Devs LSL Devs

View File

@ -395,7 +395,7 @@ namespace OpenSim.Framework.Communications.Cache
public void AssetReceived(AssetBase asset, bool IsTexture) public void AssetReceived(AssetBase asset, bool IsTexture)
{ {
#if DEBUG #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 #endif
if (asset.FullID != LLUUID.Zero) // if it is set to zero then the asset wasn't found by the server if (asset.FullID != LLUUID.Zero) // if it is set to zero then the asset wasn't found by the server

View File

@ -103,7 +103,7 @@ namespace OpenSim.Framework.Statistics
public string Report() public string Report()
{ {
StringBuilder sb = new StringBuilder(Environment.NewLine); StringBuilder sb = new StringBuilder(Environment.NewLine);
sb.Append("PACKET QUEUE STATISTICS"); sb.Append("ASSET CACHE STATISTICS");
sb.Append(Environment.NewLine); sb.Append(Environment.NewLine);
sb.Append( sb.Append(
string.Format( 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(Environment.NewLine);
sb.Append("PACKET QUEUE STATISTICS"); sb.Append("PACKET QUEUE STATISTICS");
sb.Append(Environment.NewLine); sb.Append(Environment.NewLine);
sb.Append("Agent UUID "); sb.Append("Agent UUID ");
sb.Append(" Send In Out Resend "); sb.Append(
sb.Append(" Land Wind Cloud Task Texture Asset"); 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); sb.Append(Environment.NewLine);
foreach (LLUUID key in packetQueueStatsReporters.Keys) foreach (LLUUID key in packetQueueStatsReporters.Keys)