]>
Commit | Line | Data |
---|---|---|
9ce629cf | 1 | /* |
f70aedc4 | 2 | * Copyright (C) 1996-2021 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 |
13 | class IoStats |
14 | { | |
9ce629cf FC |
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 | } | |
9ce629cf FC |
25 | Http, Ftp, Gopher; |
26 | }; | |
27 | ||
28 | #endif /* SQUID_IOSTATS_H_ */ | |
f53969cc | 29 |