squid-
cache.org
Optimising Web Delivery
Docs
Download
Donate
Support
About
Contact
Shop
Blog
src
tests
stub_store_stats.cc
Go to the documentation of this file.
1
/*
2
* Copyright (C) 1996-2022 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_RETVAL
#define STUB_RETVAL(x)
Definition:
STUB.h:41
StoreInfoStats::operator+=
StoreInfoStats & operator+=(const StoreInfoStats &stats)
Definition:
StoreStats.cc:16
StoreStats.h
StoreIoStats
Store statistics related to low-level I/O.
Definition:
StoreStats.h:58
STUB.h
squid.h
StoreInfoStats
High-level store statistics used by mgr:info action. Used inside PODs!
Definition:
StoreStats.h:14
Introduction
About Squid
Why Squid?
Squid Developers
How to Donate
How to Help Out
Getting Squid
Squid Source Packages
Squid Deployment Case-Studies
Squid Software Foundation
Documentation
Configuration:
Reference
Examples
FAQ
and
Wiki
Guide Books:
Beginners
Definitive
Non-English
More...
Support
Security Advisories
Bugzilla Database
Mailing lists
Contacting us
Commercial services
Project Sponsors
Squid-based products
Miscellaneous
Developer Resources
Related Writings
Related Software:
Authenticators
Ecap
Icap
Ident
Log Analysis
Monitor
Proxies
Redirectors
General
Squid Artwork
Web Site Translations
Japanese
Mirrors
Website:
gr
il
jp
pl
...
full list
FTP Package Archive