SequenceCallModule.CustomCPUAffinityForNewThread
- Updated2024-10-09
- 1 minute(s) read
SequenceCallModule.CustomCPUAffinityForNewThread
Syntax
SequenceCallModule.CustomCPUAffinityForNewThread
Data Type
Purpose
A numeric expression that specifies the CPUs on which the new thread executes when the value of the SequenceCallModule.CPUAffinityForNewThreadOption property is CPUAffinityForNewThreadOption_UseCustomAffinity .
Remarks
This property evaluates to a numeric value in which each bit represents a CPU. The lowest-order bit represents the first CPU. For example, a value of 12 , which is 1100 in binary, represents CPUs 3 and 4 on a quad-core computer. A value of -1 specifies to use all CPUs available to the process.
The value this property specifies applies only if the value of the SequenceCallModule.MultithreadingAndRemoteExecOption property is SeqCallMultithread_NewThread or SeqCallMultithread_NewExecution .
Refer to Using TestStand on SMP Systems for more information about optimizing TestStand performance on symmetric multiprocessing (SMP) systems for multithreaded applications.
See Also
SequenceCallModule.CPUAffinityForNewThreadOption