July 1, 2011
5:16 p.m.
On Jul 1, 2011, at 10:08 AM, Paul Eggert wrote:
This is a tricky business, though, since NTP does adjust the the clock *frequency*, and CLOCK_MONOTONIC is *not* supposed to be immune to *that*. If you want your elapsed-time measurements to be more reliable in the presence of clock-frequency adjustments, you need something fancier, e.g., GNU/Linux's CLOCK_MONOTONIC_RAW.
If you care *that* much, you need something fancier, e.g. an atomic clock. :-) I seem to remember some news article in the past year or so indicating that there might be some new type of atomic clock coming out that would be less expensive, but I can't seem to find it with some simple Googling.