]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
- added more stats into statDigestBlob
authorrousskov <>
Thu, 9 Apr 1998 06:18:21 +0000 (06:18 +0000)
committerrousskov <>
Thu, 9 Apr 1998 06:18:21 +0000 (06:18 +0000)
src/stat.cc

index a3a0aa5aff215f57256edd7815024d79428f8e71..377fd18de49f8b414d4ffbb66e310fc49f0ae5e9 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: stat.cc,v 1.227 1998/04/08 22:51:16 rousskov Exp $
+ * $Id: stat.cc,v 1.228 1998/04/09 00:18:21 rousskov Exp $
  *
  * DEBUG: section 18    Cache Manager Statistics
  * AUTHOR: Harvest Derived
@@ -1041,6 +1041,14 @@ statDigestBlob(StoreEntry * sentry)
     StatCounters *l = &CountHist[5];
     double x;
 
+    storeAppendPrintf(sentry, "client_http.all_svc_time histogram:\n");
+    statHistDump(&f->client_http.all_svc_time, sentry, NULL);
+    storeAppendPrintf(sentry, "client_http.miss_svc_time histogram:\n");
+    statHistDump(&f->client_http.miss_svc_time, sentry, NULL);
+    storeAppendPrintf(sentry, "client_http.nm_svc_time histogram:\n");
+    statHistDump(&f->client_http.nm_svc_time, sentry, NULL);
+    storeAppendPrintf(sentry, "client_http.hit_svc_time histogram:\n");
+    statHistDump(&f->client_http.hit_svc_time, sentry, NULL);
     storeAppendPrintf(sentry, "\nicp.query_svc_time histogram:\n");
     statHistDump(&f->icp.query_svc_time, sentry, NULL);
     storeAppendPrintf(sentry, "\nicp.reply_svc_time histogram:\n");
@@ -1051,6 +1059,18 @@ statDigestBlob(StoreEntry * sentry)
     statHistDump(&f->cd.client_svc_time, sentry, NULL);
 
     storeAppendPrintf(sentry, "\nMedian service times:\n");
+    x = statHistDeltaMedian(&l->client_http.all_svc_time,
+       &f->client_http.all_svc_time);
+    storeAppendPrintf(sentry, "client_http.all_median_svc_time = %f seconds\n",
+       x / 1000.0);
+    x = statHistDeltaMedian(&l->client_http.miss_svc_time,
+       &f->client_http.miss_svc_time);
+    storeAppendPrintf(sentry, "client_http.miss_median_svc_time = %f seconds\n",
+       x / 1000.0);
+    x = statHistDeltaMedian(&l->client_http.hit_svc_time,
+       &f->client_http.hit_svc_time);
+    storeAppendPrintf(sentry, "client_http.hit_median_svc_time = %f seconds\n",
+       x / 1000.0);
     x = statHistDeltaMedian(&l->cd.client_svc_time,
        &f->cd.client_svc_time);
     storeAppendPrintf(sentry, "cd.client_median_svc_time = %f seconds\n",