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
19
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
#define STUB_RETVAL(x)
Definition STUB.h:42
High-level store statistics used by mgr:info action. Used inside PODs!
Definition StoreStats.h:14
StoreInfoStats & operator+=(const StoreInfoStats &stats)
Definition StoreStats.cc:16
Store statistics related to low-level I/O.
Definition StoreStats.h:58