Click here to show toolbars of the Web Online Help System: show toolbars |
MIL_ID ContextAppId, | //in |
MIL_INT64 InquireType, | //in |
MIL_INT64 TypeFlag, | //in |
MIL_INT64 TypeValue, | //in |
void *UserVarPtr | //out |
This function inquires about a setting of a MIL multi-core processing application environment. This function can return whether MIL can use multi-core processing to execute certain parts of MIL functions. It can also return how multi-core processing is performed.
In multi-thread environments, an MappInquireMp() call returns information that applies to all application threads running MIL, unless the specific setting was overridden for a specific thread using MthrControlMp(); in which case, you should use MthrInquireMp() to obtain information about that thread.
Specifies the identifier of the application context to use. This only applies to a DMIL environment.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the current application context. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the application context identifier. |
Specifies the type of multi-core processing application environment setting about which to inquire.
See the Parameter associations section for possible values that can be specified.
Specifies additional information regarding the inquired setting. This parameter must be set to M_DEFAULT if not used.
See the Parameter associations section for possible values that can be specified.
Specifies the address in which to write the requested information. Since the MappInquireMp() 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 and TypeValue parameters and possible values returned to the UserVarPtr parameter.
Note that TypeValue should be set to M_DEFAULT if it is not used.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
TypeValue | |||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires about 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...)
Returns one of the following. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a non-zero initialized bit-mask array. 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
Returns the following. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the size of the core affinity mask array. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires about the core affinity bit-mask that the operating system assigned to the process running your MIL application. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: array of type MIL_UINT64
(more
details...)
Returns the core affinity bit-mask. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the maximum number of CPU cores to use to process the multi-core processing part of each MIL function. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
Returns the following. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
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. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
Returns one of the following. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies to use the current value of M_CORE_MAX. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the maximum number of CPU cores to use. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the index of a memory bank local to the specified CPU core. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the CPU core. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
Returns one of the following. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that no memory bank is local to the specified CPU core or the CPU core is not available to the process running your MIL application. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the memory bank index. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the number of CPU cores available to the process running your MIL application. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
Returns the following. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the number of CPU cores. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
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
Returns one of the following. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies to use only one logical core per physical CPU core, if hyper-threading is enabled. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies to use all the logical cores of a physical CPU core, if hyper-threading is enabled. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires about a memory bank affinity bit-mask. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the following. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that M_MEMORY_BANK_AFFINITY_MASK returns an affinity bit-mask that identifies local memory banks. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: array of type MIL_UINT64
(more
details...)
Returns the memory bank affinity bit-mask. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the size of the array required to store the memory bank affinity bit-mask. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
Returns the following. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the size of the memory bank affinity array. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires about the core affinity bit-mask representing the CPU cores local to the specified memory bank. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the memory bank. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: array of type MIL_UINT64
(more
details...)
Returns the core affinity bit-mask. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the number of memory banks local to the CPU cores available to the process running your MIL application. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
Returns the following. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the number of memory banks. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires whether MIL applications can use multi-core processing to execute certain parts of MIL functions. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
Returns one of the following. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that multi-core processing works normally and all control types are in effect. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that multi-core processing in MIL is disabled regardless of any other control type. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the processing priority of the multi-core processing part of MIL functions. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
Returns one of the following. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
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
Returns one of the following. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that multi-core processing cannot be used. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that multi-core processing can be used. |
Header | Include mil.h. |
Library | Use mil.lib. |
DLL | Requires mil.dll, milmp.dll. |