Function MSContextGetThreadAffinityMode

Function Documentation

int MSContextGetThreadAffinityMode(const MSContextHandle context)

Obtain the thread affinity of CPU cores.

Parameters

context[in] Context object handle.

Returns

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