Click here to show toolbars of the Web Online Help System: show toolbars |
MIL_ID ThrId, | //in |
MIL_INT64 InquireType, | //in |
MIL_INT64 TypeFlag, | //in |
MIL_INT64 TypeValue, | //in |
void *ResultPtr | //out |
This function inquires about a MIL multi-core processing setting of a thread context. This function can return whether multi-core processing is used to execute the MIL functions on the specified thread. It can also return how multi-core processing is performed for the specified thread.
MthrInquireMp() always takes precedence over MappInquireMp().
Specifies the identifier of a user-allocated MIL thread context allocated using MthrAlloc().
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default MIL thread context identifier associated with the current Host thread. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the identifier of a user-allocated MIL thread context. |
Specifies the type of multi-core processing setting about which to inquire.
See the Parameter associations section for possible values that can be specified.
Specifies the address in which to write the requested information. Since the MthrInquireMp() function also returns the requested information, you can set this parameter to M_NULL.
See the Parameter associations section for possible values that can be returned.
The table below lists possible values for the InquireType parameter and possible values returned to the ResultPtr parameter.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
ResultPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the core affinity bit-mask, which indicates the CPU cores that can be used to run the multi-core processing part of MIL functions. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: array of type MIL_UINT64
(more
details...)
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a bit-mask array in which each bit represents one CPU core. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that all CPU cores that are available to the process running your MIL application can be used (M_CORE_AFFINITY_MASK is set to M_ALL). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the size of the array required to store the core affinity bit-mask. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the size of the core affinity mask array. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the maximum number of CPU cores to use to process the multi-core processing part of each MIL function on the specified thread. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the default value. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the maximum number of CPU cores to use. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the maximum number of CPU cores to use to process the multi-core processing part of copy type functions on the specified thread. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the default value. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies to use the current value of M_CORE_MAX. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the maximum number of CPU cores to use. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the number of CPU cores available for executing the multi-core processing part of MIL functions on the specified thread. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the number of CPU cores available. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires whether MIL multi-core processing can use multiple logical cores per physical CPU core, when hyper-threading is enabled and supported. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the default value. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies only one logical core per physical CPU core, if hyper-threading is enabled. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies all the logical cores of a physical CPU core, if hyper-threading is enabled. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the processing priority of the multi-core processing part of MIL functions. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the default value. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the multi-core processing part of MIL functions will be executed with above normal priority. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the multi-core processing part of MIL functions will be executed with below normal priority. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the multi-core processing part of MIL functions will be executed with high priority. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the multi-core processing part of MIL functions will be executed with idle priority. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the multi-core processing part of MIL functions will be executed with low priority. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the multi-core processing part of MIL functions will be executed with normal priority. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the multi-core processing part of MIL functions will be executed with time critical priority. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires whether multi-core processing can be used to execute certain parts of MIL functions. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the default value. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that multi-core processing cannot be used for MIL functions on the specified thread. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that multi-core processing can be used for MIL functions on the specified thread. |
Header | Include mil.h. |
Library | Use mil.lib. |
DLL | Requires mil.dll, milmp.dll. |