Relative Content

Tag Archive for x86kernelmulticoreosdevrdtsc

Invariant Timestamp Counter is synchronised between cores of the same CPU?

I’m interested in how Invariant TSC behaves on a multi-core CPU, on a classic PC with a single physical CPU.
The only thing I could find is that its frequency is constant and the same for all CPU cores(right?).
But I still have questions about whether the value of its internal counter is the same for all CPU cores, especially since the other cores start after the first one?
And in the end, can the kernel just take it and use it as a global clock, similar to HPET? Does it require some form of synchronisation and configuration on the kernel side?
And is this all true as whether it’s Intel or AMD?