]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
remove debugs
authorwessels <>
Tue, 6 Jan 1998 12:40:43 +0000 (12:40 +0000)
committerwessels <>
Tue, 6 Jan 1998 12:40:43 +0000 (12:40 +0000)
src/stat.cc

index ca139e4297d1e5544086a812d032ea506748836f..d6dca4a327fb64c0f3a667039879d88a984fe0f6 100644 (file)
@@ -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));