From: wessels <> Date: Tue, 6 Jan 1998 12:40:43 +0000 (+0000) Subject: remove debugs X-Git-Tag: SQUID_3_0_PRE1~4241 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d14042ab003fd53c0ffaba18f91cf433a9436d7b;p=thirdparty%2Fsquid.git remove debugs --- diff --git a/src/stat.cc b/src/stat.cc index ca139e4297..d6dca4a327 100644 --- a/src/stat.cc +++ b/src/stat.cc @@ -1,6 +1,6 @@ /* - * $Id: stat.cc,v 1.182 1998/01/06 05:12:10 wessels Exp $ + * $Id: stat.cc,v 1.183 1998/01/06 05:40:43 wessels Exp $ * * DEBUG: section 18 Cache Manager Statistics * AUTHOR: Harvest Derived @@ -933,6 +933,7 @@ statAvgTick(void *notused) NCountHist++; } +#define XAVG(X) (double) (f->X - l->X) / dt void statAvgDump(StoreEntry * sentry) { @@ -944,9 +945,6 @@ statAvgDump(StoreEntry * sentry) statAvgTick(NULL); dt = tvSubDsec(l->timestamp, f->timestamp); ct = f->cputime - l->cputime; -debug(0,0)("statAvgDump: dt=%f\n", dt); -debug(0,0)("statAvgDump: ct=%f\n", ct); -#define XAVG(X) (double) (f->X - l->X) / dt storeBuffer(sentry); storeAppendPrintf(sentry, "client_http.requests = %f/sec\n", XAVG(client_http.requests));