]> git.ipfire.org Git - thirdparty/squid.git/blob - src/CpuAffinity.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / CpuAffinity.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_CPU_AFFINITY_H
10 #define SQUID_CPU_AFFINITY_H
11
12 /// set CPU affinity for this process on startup
13 void CpuAffinityInit();
14
15 /// reconfigure CPU affinity for this process
16 void CpuAffinityReconfigure();
17
18 /// check CPU affinity configuration and print warnings if needed
19 void CpuAffinityCheck();
20
21 #endif // SQUID_CPU_AFFINITY_H
22