--------------------- PatchSet 10476 Date: 2008/03/30 11:22:56 Author: adri Branch: s2_delaywork Tag: (none) Log: Include statistics for class 3 delay pools. Members: src/delay_pools.c:1.18.12.2->1.18.12.3 Index: squid/src/delay_pools.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/delay_pools.c,v retrieving revision 1.18.12.2 retrieving revision 1.18.12.3 diff -u -r1.18.12.2 -r1.18.12.3 --- squid/src/delay_pools.c 27 Mar 2008 12:47:16 -0000 1.18.12.2 +++ squid/src/delay_pools.c 30 Mar 2008 11:22:56 -0000 1.18.12.3 @@ -1,6 +1,6 @@ /* - * $Id: delay_pools.c,v 1.18.12.2 2008/03/27 12:47:16 adri Exp $ + * $Id: delay_pools.c,v 1.18.12.3 2008/03/30 11:22:56 adri Exp $ * * DEBUG: section 77 Delay Pools * AUTHOR: David Luyer @@ -792,12 +792,12 @@ for (i = 0; i < NET_MAP_SZ; i++) { if (class3->network_map[i] == 255) break; - storeAppendPrintf(sentry, "%d:%d ", class3->network_map[i], - class3->network[i]); + storeAppendPrintf(sentry, "%d:%d (%" PRINTF_OFF_T ") ", class3->network_map[i], + class3->network[i], class3->network_bytes[i]); shown = 1; } if (class3->network_255_used) { - storeAppendPrintf(sentry, "%d:%d ", 255, class3->network[255]); + storeAppendPrintf(sentry, "%d:%d (%" PRINTF_OFF_T ") ", 255, class3->network[255], class3->network_bytes[255]); shown = 1; } if (!shown) @@ -820,11 +820,11 @@ for (j = 0; j < IND_MAP_SZ; j++) { if (class3->individual_map[i][j] == 255) break; - storeAppendPrintf(sentry, "%d:%d ", class3->individual_map[i][j], - class3->individual[(i << 8) | j]); + storeAppendPrintf(sentry, "%d:%d (%" PRINTF_OFF_T ") ", class3->individual_map[i][j], + class3->individual[(i << 8) | j], class3->individual_bytes[(i << 8) | j]); } if (class3->individual_255_used[i / 8] & (1 << (i % 8))) { - storeAppendPrintf(sentry, "%d:%d ", 255, class3->individual[(i << 8) | 255]); + storeAppendPrintf(sentry, "%d:%d (%" PRINTF_OFF_T ") ", 255, class3->individual[(i << 8) | 255], class3->individual_bytes[(i << 8) | 255]); } storeAppendPrintf(sentry, "\n"); }