* minor: Report cache figures in rounded up KB instead of with decimal places in show stats
* trade easier readability for pointless accuracy0.6.0-stable
parent
3794f25ebd
commit
928b32054c
|
@ -163,17 +163,17 @@ namespace OpenSim.Framework.Statistics
|
||||||
sb.Append(Environment.NewLine);
|
sb.Append(Environment.NewLine);
|
||||||
sb.Append(
|
sb.Append(
|
||||||
string.Format(
|
string.Format(
|
||||||
@"Asset cache contains {0,6} assets using {1,10:0.000} K" + Environment.NewLine,
|
@"Asset cache contains {0,6} assets using {1,10} K" + Environment.NewLine,
|
||||||
AssetsInCache, AssetCacheMemoryUsage / 1024.0));
|
AssetsInCache, Math.Round(AssetCacheMemoryUsage / 1024.0)));
|
||||||
|
|
||||||
sb.Append(Environment.NewLine);
|
sb.Append(Environment.NewLine);
|
||||||
sb.Append("TEXTURE STATISTICS");
|
sb.Append("TEXTURE STATISTICS");
|
||||||
sb.Append(Environment.NewLine);
|
sb.Append(Environment.NewLine);
|
||||||
sb.Append(
|
sb.Append(
|
||||||
string.Format(
|
string.Format(
|
||||||
@"Texture cache contains {0,6} textures using {1,10:0.000} K
|
@"Texture cache contains {0,6} textures using {1,10} K
|
||||||
Blocked requests for missing textures: {2}" + Environment.NewLine,
|
Blocked requests for missing textures: {2}" + Environment.NewLine,
|
||||||
TexturesInCache, TextureCacheMemoryUsage / 1024.0,
|
TexturesInCache, Math.Round(TextureCacheMemoryUsage / 1024.0),
|
||||||
BlockedMissingTextureRequests));
|
BlockedMissingTextureRequests));
|
||||||
|
|
||||||
sb.Append(Environment.NewLine);
|
sb.Append(Environment.NewLine);
|
||||||
|
|
Loading…
Reference in New Issue