On Mon, 12 Oct 1998, Andrew Philip Bell wrote:

>rdtsc()), then several context switches could (and would) throw off this check.

rdtsc is the asm instruction available on >=Pentium arch. Other arch has
their own way to read the timestamp counter.

The rdtsc instruction is not linux specific and has nothing to do with
scheduling. Using it you' ll stall the machine but it' s the most precise
real-time delay you can achieve with an x86 at least.

Andrea Arcangeli

Reply via email to