]> git.ipfire.org Git - thirdparty/squid.git/blob - src/stat.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / stat.h
1 /*
2 * Copyright (C) 1996-2016 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 /* DEBUG: section 18 Cache Manager Statistics */
10
11 #ifndef SQUID_STAT_H_
12 #define SQUID_STAT_H_
13
14 void statInit(void);
15 void statFreeMemory(void);
16 double median_svc_get(int, int);
17 void pconnHistCount(int, int);
18 int stat5minClientRequests(void);
19 double stat5minCPUUsage(void);
20 double statRequestHitRatio(int minutes);
21 double statRequestHitMemoryRatio(int minutes);
22 double statRequestHitDiskRatio(int minutes);
23 double statByteHitRatio(int minutes);
24
25 class StatCounters;
26 StatCounters *snmpStatGet(int);
27
28 #endif /* SQUID_STAT_H_ */
29