Go to the source code of this file.
Functions | |
void | CpuAffinityInit () |
set CPU affinity for this process on startup More... | |
void | CpuAffinityReconfigure () |
reconfigure CPU affinity for this process More... | |
void | CpuAffinityCheck () |
check CPU affinity configuration and print warnings if needed More... | |
Function Documentation
◆ CpuAffinityCheck()
void CpuAffinityCheck | ( | ) |
Definition at line 49 of file CpuAffinity.cc.
References Config, SquidConfig::cpuAffinityMap, DBG_IMPORTANT, debugs, InDaemonMode(), Must, NumberOfKids(), and CpuAffinityMap::processes().
Referenced by mainReconfigureFinish(), and SquidMain().
◆ CpuAffinityInit()
void CpuAffinityInit | ( | ) |
Definition at line 26 of file CpuAffinity.cc.
References CpuAffinitySet::apply(), CpuAffinityMap::calculateSet(), Config, SquidConfig::cpuAffinityMap, InDaemonMode(), KidIdentifier, Must, and TheCpuAffinitySet.
Referenced by CpuAffinityReconfigure(), and SquidMain().
◆ CpuAffinityReconfigure()
void CpuAffinityReconfigure | ( | ) |
Definition at line 38 of file CpuAffinity.cc.
References CpuAffinityInit(), TheCpuAffinitySet, and CpuAffinitySet::undo().
Referenced by mainReconfigureFinish().