[time-nuts] FreeBSD, NetBSD, or Minix-III?
Hal Murray
hmurray at megapathdsl.net
Mon May 18 00:28:16 UTC 2009
>> I'm interested in the case where interrupts and scheduling are
>> enabled so there may be arbitrary gaps inserted into the simple
>> code.
> Interrupts enabled means that you can't make it reliable.
Sure you can. Just compare the two high samples and try again if they are
different.
This disadvantage is that you get more jitter on how long it takes to get the
answer. That may be better than taking the overhead of a system call to get
into the kernel.
--
These are my opinions, not necessarily my employer's. I hate spam.
More information about the Time-nuts_lists.febo.com
mailing list