]> git.ipfire.org Git - thirdparty/squid.git/blob - src/IoStats.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / IoStats.h
1 /*
2 * Copyright (C) 1996-2017 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 #ifndef SQUID_IOSTATS_H_
10 #define SQUID_IOSTATS_H_
11
12 /// IO statistics. Currently a POD.
13 class IoStats
14 {
15 public:
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 }
25 Http, Ftp, Gopher;
26 };
27
28 #endif /* SQUID_IOSTATS_H_ */
29