MCPcopy Create free account
hub / github.com/acl-dev/acl / memPoolDescribe

Function memPoolDescribe

lib_acl/src/stdlib/memory/squid_allocator.c:62–69  ·  view source on GitHub ↗

to-do: make debug level a parameter? */

Source from the content-addressed store, hash-verified

60
61/* to-do: make debug level a parameter? */
62static void memPoolDescribe(const ACL_MEM_POOL * pool)
63{
64 acl_assert(pool);
65 acl_msg_info("%-20s: %6d x %4d bytes = %5ld KB",
66 pool->label, memPoolInUseCount(pool),
67 (int) pool->obj_size,
68 (long int) toKB(memPoolInUseSize((const ACL_MEM_POOL *)pool)));
69}
70
71/* MemMeter */
72

Callers 1

memCleanModuleFunction · 0.85

Calls 4

acl_msg_infoFunction · 0.85
memPoolInUseCountFunction · 0.85
toKBFunction · 0.85
memPoolInUseSizeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…