Author: j16sdiz
Date: 2008-09-03 16:09:55 +0000 (Wed, 03 Sep 2008)
New Revision: 22368
Modified:
trunk/freenet/src/freenet/clients/http/StatisticsToadlet.java
Log:
fix bad merge
Modified: trunk/freenet/src/freenet/clients/http/StatisticsToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/StatisticsToadlet.java
2008-09-03 15:38:47 UTC (rev 22367)
+++ trunk/freenet/src/freenet/clients/http/StatisticsToadlet.java
2008-09-03 16:09:55 UTC (rev 22368)
@@ -471,6 +471,8 @@
long storeAccesses = storeHits + storeMisses;
long cacheWrites=node.getChkDatacache().writes();
long storeWrites=node.getChkDatastore().writes();
+ long cacheFalsePos =
node.getChkDatacache().getBloomFalsePositive();
+ long storeFalsePos =
node.getChkDatastore().getBloomFalsePositive();
// REDFLAG Don't show database version because it's not
possible to get it accurately.
// (It's a public static constant, so it will use the version
from compile time of freenet.jar)
@@ -545,6 +547,11 @@
row.addChild("td",
fix1p2.format(1.0*storeWrites/nodeUptimeSeconds)+" /sec");
row.addChild("td",
fix1p2.format(1.0*cacheWrites/nodeUptimeSeconds)+" /sec");
+ row = storeSizeTable.addChild("tr");
+ row.addChild("td", "False Pos.");
+ row.addChild("td", thousendPoint.format(storeFalsePos));
+ row.addChild("td", thousendPoint.format(cacheFalsePos));
+
// location-based stats
double nodeLoc=0.0;