On 2011-Sep-07 12:41:54 -0600, Manish Vachharajani <mani...@lineratesystems.com> wrote: >This is great info, thanks. Is it worth having some kind of >environment variable tunable (or even compile time tunable) to have a >"fast" gettimeofday then?
Maybe. rwatson@ produced a preloadable .so to do this - see http://www.watson.org/~robert/freebsd/clock/ > Is there a complimentary body of code that >assumes gettimeofday is precise? I'm not aware of any but it's not necessarily trivial to identify such code - it's unlikely to fail outright but instead may deliver results that may not be as accurate as the author intended. I think a better way of looking at the problem is that some code was designed on the assumption that certain operations were cheap and therefore uses those operations more freely than it would have had those operations been more expensive. -- Peter Jeremy
pgp8RtgcBLrmz.pgp
Description: PGP signature