]> git.ipfire.org Git - thirdparty/squid.git/commit - src/sbuf/SBuf.cc
Add counter for SBuf::c_str() calls
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 6 Apr 2014 07:08:04 +0000 (00:08 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 6 Apr 2014 07:08:04 +0000 (00:08 -0700)
commit7f175a76575c9cf16ab60128caaad054cee59437
tree6b17e0f11fb46efd142a43f863863cd346095e0e
parentddf5aa2bbc5550e64e9cbd5b5814a0f4eba41882
Add counter for SBuf::c_str() calls

It is useful to know how many c_str() calls are being made as each
results in a possible reallocation.
src/SBuf.cc
src/SBuf.h