Function MSContextGetThreadAffinityMode

Function Documentation

int MSContextGetThreadAffinityMode(const MSContextHandle context)

Obtain the thread affinity of CPU cores.

参数

context[in] Context object handle.

返回

Thread affinity to CPU cores. 0: no affinities, 1: big cores first, 2: little cores first