From: hno <> Date: Sat, 25 Sep 2004 21:48:16 +0000 (+0000) Subject: Bug #882: Add delay pools information to active_requests X-Git-Tag: SQUID_3_0_PRE4~1048 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8faa78e6a1c3c1a785cad9982ba928aa728171eb;p=thirdparty%2Fsquid.git Bug #882: Add delay pools information to active_requests --- diff --git a/src/stat.cc b/src/stat.cc index d623440507..9c09cf4cf8 100644 --- a/src/stat.cc +++ b/src/stat.cc @@ -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"); } }