]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/base/ByteCounter.h
2 * Copyright (C) 1996-2015 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_SRC_BYTECOUNTER_H
10 #define SQUID_SRC_BYTECOUNTER_H
12 /// counter for accumulating byte values
16 ByteCounter() : bytes(0), kb(0) {}
18 ByteCounter
&operator +=(size_t v
) {
30 #endif /* SQUID_SRC_BYTECOUNTER_H */