]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/SBufDetailedStats.h
2 * Copyright (C) 1996-2014 The Squid Software Foundation and contributors
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
9 #ifndef SQUID_SBUFDETAILEDSTATS_H
10 #define SQUID_SBUFDETAILEDSTATS_H
16 /// Record the size a SBuf had when it was destructed
17 void recordSBufSizeAtDestruct(SBuf::size_type sz
);
19 /** Collect the SBuf size-at-destruct-time histogram
21 * \note the returned StatHist object must not be freed
23 const StatHist
* collectSBufDestructTimeStats();
25 /// Record the size a MemBlob had when it was destructed
26 void recordMemBlobSizeAtDestruct(MemBlob::size_type sz
);
28 /** Collect the MemBlob size-at-destruct-time histogram
30 * \note the returned StatHist object must not be freed
32 const StatHist
* collectMemBlobDestructTimeStats();
34 #endif /* SQUID_SBUFDETAILEDSTATS_H */