]> git.ipfire.org Git - thirdparty/squid.git/blame - src/IoStats.h
Source Format Enforcement (#532)
[thirdparty/squid.git] / src / IoStats.h
CommitLineData
9ce629cf 1/*
77b1029d 2 * Copyright (C) 1996-2020 The Squid Software Foundation and contributors
9ce629cf 3 *
bbc27441
AJ
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.
9ce629cf
FC
7 */
8
bbc27441
AJ
9#ifndef SQUID_IOSTATS_H_
10#define SQUID_IOSTATS_H_
11
001d55dc 12/// IO statistics. Currently a POD.
1b2f0924
FC
13class IoStats
14{
9ce629cf
FC
15public:
16 static const int histSize=16;
17
18 struct {
19 int reads;
20 int reads_deferred;
21 int read_hist[histSize];
22 int writes;
23 int write_hist[histSize];
24 }
9ce629cf
FC
25 Http, Ftp, Gopher;
26};
27
28#endif /* SQUID_IOSTATS_H_ */
f53969cc 29