Go to the documentation of this file.
9 #ifndef SQUID_CPU_AFFINITY_SET_H
10 #define SQUID_CPU_AFFINITY_SET_H
37 #endif // SQUID_CPU_AFFINITY_SET_H
cpu affinity management for a single process
cpu_set_t theOrigCpuSet
CPU affinity for this process before apply()
void set(const cpu_set_t &aCpuSet)
set CPU affinity mask
bool applied()
whether apply() was called and was not undone
cpu_set_t theCpuSet
configured CPU affinity for this process
void undo()
undo CPU affinity changes for this process
void apply()
set CPU affinity for this process