Skip to contentSkip to conversation

alarms on multi-core systems

Xenomai Tom Z 2 participants 2 messages Jun 20, 2013

lore
Share & tools
lore

Tom Z

author
#0 lore raw

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

#1 lore raw
Quoted 6 lines · Tom Z

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?

The answer depends on the clock source provided by the hardware you use.

Signature · 1 line
                    Gilles.