]> git.ipfire.org Git - thirdparty/squid.git/blame_incremental - src/sbuf/DetailedStats.h
Source Format Enforcement (#763)
[thirdparty/squid.git] / src / sbuf / DetailedStats.h
... / ...
CommitLineData
1/*
2 * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
3 *
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.
7 */
8
9#ifndef SQUID_SBUFDETAILEDSTATS_H
10#define SQUID_SBUFDETAILEDSTATS_H
11
12#include "sbuf/SBuf.h"
13
14class StatHist;
15
16/// Record the size a SBuf had when it was destructed
17void recordSBufSizeAtDestruct(SBuf::size_type sz);
18
19/// the SBuf size-at-destruct-time histogram
20StatHist &collectSBufDestructTimeStats();
21
22/// Record the size a MemBlob had when it was destructed
23void recordMemBlobSizeAtDestruct(MemBlob::size_type sz);
24
25/// the MemBlob size-at-destruct-time histogram
26StatHist &collectMemBlobDestructTimeStats();
27
28#endif /* SQUID_SBUFDETAILEDSTATS_H */
29