>> 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. _______________________________________________ time-nuts mailing list -- [email protected] To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.
