Lines Matching full:affinity
131 uint64_t Affinity;
190 G.Affinity = El.GroupInfo[J].ActiveProcessorMask;
216 // If there's an affinity mask set, assume the user wants to constrain the
218 // possible for affinity masks to cross CPU group boundaries.
225 // The process affinity mask is spurious, due to an OS bug, ignore it.
230 "When an affinity mask is set, the process is expected to be "
235 NewG.Affinity = ProcessAffinityMask;
275 // Only one CPU socket in the system or process affinity was set, no need to
307 GROUP_AFFINITY Affinity{};
308 Affinity.Group = Groups[*Socket].ID;
309 Affinity.Mask = Groups[*Socket].Affinity;
310 SetThreadGroupAffinity(GetCurrentThread(), &Affinity, nullptr);
314 GROUP_AFFINITY Affinity{};
315 GetThreadGroupAffinity(GetCurrentThread(), &Affinity);
323 return G.ID < Affinity.Group ? G.AllThreads : 0;
329 if ((Affinity.Mask >> I) & 1)