Function MSContextGetThreadAffinityCoreList

Function Documentation

const int32_t *MSContextGetThreadAffinityCoreList(const MSContextHandle context, size_t *core_num)

Obtain the thread lists of CPU cores.

Parameters
  • context[in] Context object handle.

  • core_num[out] The number of core.

Returns

a array of thread core lists.