From d4d93be7790bd0e453858062724d6a0306a90da4 Mon Sep 17 00:00:00 2001 From: reger Date: Sat, 6 Apr 2013 02:08:01 +0200 Subject: [PATCH] uncomment "used time" calculation for remote search log --- htroot/AccessTracker_p.html | 2 +- htroot/AccessTracker_p.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/htroot/AccessTracker_p.html b/htroot/AccessTracker_p.html index 01b31ef3d..d1a84268f 100644 --- a/htroot/AccessTracker_p.html +++ b/htroot/AccessTracker_p.html @@ -192,7 +192,7 @@ #[peername]# #[date]# #[querycount]# - #[resultcount]# + #[transmittcount]# #[resulttime]# #[urltime]# #[snippettime]# diff --git a/htroot/AccessTracker_p.java b/htroot/AccessTracker_p.java index bc0de38ba..d8bd93673 100644 --- a/htroot/AccessTracker_p.java +++ b/htroot/AccessTracker_p.java @@ -185,11 +185,11 @@ public class AccessTracker_p { stimeSum += query.snippetcomputationtime; rtimeSum += query.searchtime; - if (query.transmitcount> 0){ + if (query.transmitcount > 0){ rcount++; /* utimeSum1 += query.urlretrievaltime; - stimeSum1 += query.snippetcomputationtime; - rtimeSum1 += query.searchtime; */ + stimeSum1 += query.snippetcomputationtime; */ + rtimeSum1 += query.searchtime; } m++; }