--------------------- PatchSet 1975 Date: 2001/04/19 08:31:08 Author: akroonmaa Branch: akroonmaa-head Tag: (none) Log: cosmetic changes for Info page. Members: src/stat.c:1.9.16.1->1.9.16.2 Index: squid/src/stat.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/stat.c,v retrieving revision 1.9.16.1 retrieving revision 1.9.16.2 diff -u -r1.9.16.1 -r1.9.16.2 --- squid/src/stat.c 18 Apr 2001 19:06:11 -0000 1.9.16.1 +++ squid/src/stat.c 19 Apr 2001 08:31:08 -0000 1.9.16.2 @@ -1,6 +1,6 @@ /* - * $Id: stat.c,v 1.9.16.1 2001/04/18 19:06:11 akroonmaa Exp $ + * $Id: stat.c,v 1.9.16.2 2001/04/19 08:31:08 akroonmaa Exp $ * * DEBUG: section 18 Cache Manager Statistics * AUTHOR: Harvest Derived @@ -596,11 +596,11 @@ storeAppendPrintf(sentry, "Memory accounted for:\n"); storeAppendPrintf(sentry, "\tTotal accounted: %6d KB\n", statMemoryAccounted() >> 10); - storeAppendPrintf(sentry, "\tmemPool accounted: %6d KB\n", - memTotalAllocated() >> 10); - storeAppendPrintf(sentry, "\tmemPoolAlloc calls: %d\n", + storeAppendPrintf(sentry, "\tmemPool accounted: %6d KB %3d%%\n", + memTotalAllocated() >> 10, percent(memTotalAllocated(), t)); + storeAppendPrintf(sentry, "\tmemPoolAlloc calls: %9d\n", mem_pool_alloc_calls); - storeAppendPrintf(sentry, "\tmemPoolFree calls: %d\n", + storeAppendPrintf(sentry, "\tmemPoolFree calls: %9d\n", mem_pool_free_calls); storeAppendPrintf(sentry, "File descriptor usage for %s:\n", appname);