[PATCH] Use clock_gettime()'s CLOCK_REALTIME instead of gettimeofday() where possible

Jonathan Roelofs jonathan at codesourcery.com
Wed Mar 11 07:56:28 PDT 2015


I think the new bits here need to be guarded on a check for `#if (defined(_POSIX_TIMERS) && _POSIX_TIMERS > 0)`, and otherwise fall back on the original implementation.


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D8253

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list