]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug #882: Add delay pools information to active_requests
authorhno <>
Sat, 25 Sep 2004 21:48:16 +0000 (21:48 +0000)
committerhno <>
Sat, 25 Sep 2004 21:48:16 +0000 (21:48 +0000)
src/stat.cc

index d623440507d55c7e3a2d87a2769de252c1ac1f2a..9c09cf4cf830fa9684f78bbd196a5f7e6a3e7107 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: stat.cc,v 1.381 2003/09/29 10:24:01 robertc Exp $
+ * $Id: stat.cc,v 1.382 2004/09/25 15:48:16 hno Exp $
  *
  * DEBUG: section 18    Cache Manager Statistics
  * AUTHOR: Harvest Derived
@@ -38,6 +38,9 @@
 #include "MemObject.h"
 #include "fde.h"
 #include "mem_node.h"
+#if DELAY_POOLS
+#include "DelayId.h"
+#endif
 #include "client_side_request.h"
 #include "client_side.h"
 
@@ -1629,6 +1632,11 @@ statClientRequests(StoreEntry * s)
                           (long int) http->start.tv_sec,
                           (int) http->start.tv_usec,
                           tvSubDsec(http->start, current_time));
+#if DELAY_POOLS
+
+        storeAppendPrintf(s, "delay_pool %d\n", DelayId::DelayClient(http) >> 16);
+#endif
+
         storeAppendPrintf(s, "\n");
     }
 }