Merge branch 'wpk/clock-realtime-fast' into 'master'

Use clock_realtime_fast where available

See merge request isc-projects/bind9!2661
This commit is contained in:
Ondřej Surý 2019-11-28 12:07:37 +00:00
commit caa5cd947d

View file

@ -36,8 +36,10 @@
#define NS_PER_MS 1000000 /*%< Nanoseconds per millisecond. */
#define US_PER_S 1000000 /*%< Microseconds per second. */
#ifdef CLOCK_REALTIME_COARSE
#if defined(CLOCK_REALTIME_COARSE)
#define CLOCKSOURCE CLOCK_REALTIME_COARSE
#elif defined(CLOCK_REALTIME_FAST)
#define CLOCKSOURCE CLOCK_REALTIME_FAST
#else
#define CLOCKSOURCE CLOCK_REALTIME
#endif