Processor ID Option

Processor ID option
Selected
Processor ID enables external logic to set a unique identifier for each processor in a system. This option is useful when a single piece of code executing on multiple processors wants to know which processor is invoking the instruction. The value of the id can be accessible in C as follows:
#include <xtensa/tie/xt_core.h>

int my_id = XT_RSR_PRID();