I'd like to execute code periodically on all cores. For instance,
I'd like to launch every 10ms computations on all cores. These
computations must start at the same time (as synchronized
I look for the best way to do it. What I currently have is one timer
(the "local timer") driving one core which in turn triggers mailbox
interrupts on the other (everything on IRQ). The advantage is the
simple timer configuration and the fact that I have all cores in phase.
The disadvantage is that mailbox-based triggering takes some time.
Is there a better way to do it? I was looking into using the
core timers (CNTHPIRQ or CNTPNSIRQ), but its it worth it ?
Will I get better synchronization of the start dates?