Author: bback
Date: 2006-10-28 20:39:24 +0000 (Sat, 28 Oct 2006)
New Revision: 10728
Modified:
trunk/freenet/src/freenet/clients/http/StatisticsToadlet.java
Log:
corrected statistics output
Modified: trunk/freenet/src/freenet/clients/http/StatisticsToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/StatisticsToadlet.java
2006-10-28 20:35:54 UTC (rev 10727)
+++ trunk/freenet/src/freenet/clients/http/StatisticsToadlet.java
2006-10-28 20:39:24 UTC (rev 10728)
@@ -381,9 +381,11 @@
"\u00a0(" + SizeUtil.formatSize(storeSize) + ")");
storeSizeList.addChild("li",
- "Overall size:\u00a0" +
thousendPoint.format(overallKeys) + "/" + thousendPoint.format(maxOverallKeys) +
- "\u00a0(" + SizeUtil.formatSize(overallSize) + "/" +
SizeUtil.formatSize(maxOverallSize) + ") (" +
- ((overallKeys*100)/maxOverallKeys) + "%)");
+ "Overall size:\u00a0" +
thousendPoint.format(overallKeys) +
+ "\u00a0/\u00a0" + thousendPoint.format(maxOverallKeys)
+
+ "\u00a0(" + SizeUtil.formatSize(overallSize) +
+ "\u00a0/\u00a0" + SizeUtil.formatSize(maxOverallSize)
+
+ ")\u00a0(" + ((overallKeys*100)/maxOverallKeys) +
"%)");
storeSizeList.addChild("li",
"Cache hits:\u00a0" +
thousendPoint.format(cachedStoreHits) +