Squid Web Cache
master
Loading...
Searching...
No Matches
stub_store_stats.cc
Go to the documentation of this file.
1
/*
2
* Copyright (C) 1996-2025 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
#include "
squid.h
"
10
11
#define STUB_API "StoreStats.cc"
12
#include "
tests/STUB.h
"
13
14
#include "
StoreStats.h
"
15
#include <cstring>
16
17
StoreInfoStats
&
18
StoreInfoStats::operator +=
(
const
StoreInfoStats
&)
STUB_RETVAL
(*
this
)
19
20
StoreIoStats
::
StoreIoStats
()
21
{
22
// we have to implement this one because tests/stub_store.cc
23
// has a StoreIoStats global
24
memset(
this
, 0,
sizeof
(*
this
));
25
}
26
STUB.h
STUB_RETVAL
#define STUB_RETVAL(x)
Definition
STUB.h:42
StoreStats.h
StoreInfoStats
High-level store statistics used by mgr:info action. Used inside PODs!
Definition
StoreStats.h:14
StoreInfoStats::operator+=
StoreInfoStats & operator+=(const StoreInfoStats &stats)
Definition
StoreStats.cc:16
StoreIoStats
Store statistics related to low-level I/O.
Definition
StoreStats.h:58
squid.h
squid
src
tests
stub_store_stats.cc
Generated by
1.9.8