Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
*) new logging for PPM-Calculation
auron_x00bc0c1b4784
diff --git a/source/de/anomic/yacy/yacyPeerActions.java b/source/de/anomic/yacy/yacyPeerActions.javaindex 472d022fc..00e7a7f91 100644--- a/source/de/anomic/yacy/yacyPeerActions.java+++ b/source/de/anomic/yacy/yacyPeerActions.java@@ -119,10 +119,12 @@ public class yacyPeerActions {//the speed of indexing (pages/minute) of the peersb.totalPPM = (int) (sb.indexedPages * 60 / Math.max(uptime, 1));- yacyCore.log.logInfo("PPM-Calculation\n\t"+- Math.max((float) indexedcdiff, 0f)+" Pages * 60 / "+- Math.max((float) uptimediff, 1f)+" Seconds = "+- (Math.max((float) indexedcdiff, 0f) * 60f / Math.max((float) uptimediff, 1f))+" PPM"+ yacyCore.log.logInfo("PPM-Calculation:\n"++ "\tStartuptime: "+sb.startupTime+"\n"++ "\tCurrenttime: "+System.currentTimeMillis()+"\n"++ "\tUptime: "+uptime+"\n"++ "\tLastcheck: "+sb.lastseedcheckuptime+"\n"++ "\tUptimediff: "+uptimediff);seedDB.mySeed.put(yacySeed.ISPEED, Long.toString(Math.round(Math.max((float) indexedcdiff, 0f) * 60f / Math.max((float) uptimediff, 1f))));sb.totalQPM = sb.requestedQueries * 60d / Math.max((double) uptime, 1d);