Author: bback
Date: 2006-10-28 20:35:54 +0000 (Sat, 28 Oct 2006)
New Revision: 10727
Modified:
trunk/freenet/src/freenet/clients/http/StatisticsToadlet.java
Log:
added overallSize percent to statistics
Modified: trunk/freenet/src/freenet/clients/http/StatisticsToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/StatisticsToadlet.java
2006-10-28 16:05:11 UTC (rev 10726)
+++ trunk/freenet/src/freenet/clients/http/StatisticsToadlet.java
2006-10-28 20:35:54 UTC (rev 10727)
@@ -382,7 +382,8 @@
storeSizeList.addChild("li",
"Overall size:\u00a0" +
thousendPoint.format(overallKeys) + "/" + thousendPoint.format(maxOverallKeys) +
- "\u00a0(" + SizeUtil.formatSize(overallSize) + "/" +
SizeUtil.formatSize(maxOverallSize) + ")");
+ "\u00a0(" + SizeUtil.formatSize(overallSize) + "/" +
SizeUtil.formatSize(maxOverallSize) + ") (" +
+ ((overallKeys*100)/maxOverallKeys) + "%)");
storeSizeList.addChild("li",
"Cache hits:\u00a0" +
thousendPoint.format(cachedStoreHits) +