]> git.ipfire.org Git - thirdparty/squid.git/commit
Move MemPoolMeter into Mem namespace (#1183)
authorAmos Jeffries <yadij@users.noreply.github.com>
Thu, 24 Nov 2022 00:17:11 +0000 (00:17 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Thu, 24 Nov 2022 19:57:26 +0000 (19:57 +0000)
commit09c020f2304fd9d95f1e4553cb8b84aeda31fb35
tree7b546220d8b7d038465bae40d44b536ffe9f968e
parent81e5e2532921c3c75502190d2aea48a2602d593f
Move MemPoolMeter into Mem namespace (#1183)

Simplified PoolMeter::flush() implementation
and inlined it for performance.

Convert mgb_t type to a sub-struct and inline
C++11 initialization for performance.

Also update Mem::Meter initialization.
src/mem/AllocatorProxy.cc
src/mem/AllocatorProxy.h
src/mem/Meter.h
src/mem/Pool.cc
src/mem/Pool.h
src/mem/forward.h
src/mem/old_api.cc
src/tests/stub_libmem.cc