RtIsPerformanceCore
RtIsPerformanceCore queries whether the specified core is a performance core.
Syntax
BOOL RtIsPerformanceCore(
ULONG ProcessorNumber
);
Parameters
ProcessorNumber
The core number to query.
Return Value
If the function succeeds, and the specified core is a performance core, it returns TRUE. If the function fails (e.g., the ProcessorNumber value is out of system affinity mask), or the specified core is not a performance core, it returns FALSE. To get extended error information, call GetLastError. If the function fails, the last error returned is ERROR_INVALID_PARAMETER. You can use RtGetCurrentProcessorNumber to obtain the core number on which the calling thread is running.
Requirements
Minimum supported version | Header | Library |
---|---|---|
eRTOS 1.0 SDK |
RtssApi.h | rtkrnl.lib |
See also: