alarms on multi-core systems
Hi,
Suppose I have two tasks bound to two cores, say CPU_0 and CPU_1, and each of them has an alarm (or timer), can I guarantee that both alarms are synchronized, say, they expire at the same time based on the same world clock? Or, does Xenomai utilize a global clock for all cores, which can be found in some modern multi-core architectures, to implement alarms?
Thanks,
Tom
Quoted 6 lines · Tom Z
Hi,
Suppose I have two tasks bound to two cores, sayCPU_0andCPU_1, and each of them has an alarm (or timer), can I guarantee that both alarms are synchronized, say, they expire at the same time based on the same world clock? Or, does Xenomai utilize a global clock for all cores, which can be found in some modern multi-core architectures, to implement alarms?
The answer depends on the clock source provided by the hardware you use.
Signature · 1 line
Gilles.