__getNumberOfCores
In this section:
Syntax
__getNumberOfCores()Return value
The number of local cores being debugged.
For use with
This macro has no effect. It is included for forward compatibility.
Description
This macro returns the number of local cores being debugged. It is only useful for IAR Embedded Workbench products that support multicore debugging. It is included for forward compatibility.
Example
test ()
{
__var i;
for (i = 0; i < __getNumberOfCores(); i++ )
{
__selectCore(i);
__message "Core: ", __getSelectedCore(), " pc = ", #PC:%x, "\n";
}
}See also
??? and ???