CPU Affinity Edit Tab
- Aktualisiert2025-07-21
- 1 Minute(n) Lesezeit
CPU Affinity Edit Tab
Select Edit CPU Affinity Settings from the context menu for a CPU Affinity step to display the CPU Affinity Settings edit tab. All expression controls for affinity mask represent the affinity mask as a numeric value where each bit of the value specifies a CPU. You can use the 0b prefix to specify a binary number. For example, a value of 15 ( 0b00001111 ) represents the CPUs in a quad-core system and a value of 10 ( 0b00001010 ) represents CPUs 2 and 4 in the quad-core system.
The following operations are available when you use the CPU Affinity step type:
- Get System Affinity —Gets the default system affinity mask.
- Get Process Affinity —Gets the current process affinity mask.
- Set Process Affinity —Sets the affinity mask for the current process.
- Get Thread Affinity —Gets the current thread affinity mask.
- Set Thread Affinity —Sets the affinity mask for the current thread.
Refer to Using TestStand on SMP Systems for more information about optimizing TestStand performance on symmetric multiprocessing (SMP) systems for multithreaded applications.