bind9/bin
Patrick McLean 56cef1495f dig: Use high resolution clocks when microsecond accuracy is requested
The TIME_NOW macro calls isc_time_now which uses CLOCK_REALTIME_COARSE
for getting the current time. This is perfectly fine for millisecond,
however when the user request microsecond resolutiuon, they are going
to get very inaccurate results. This is especially true on a server
class machine where the clock ticks may be set to 100HZ.

This changes dig to use the new TIME_NOW_HIRES macro that uses the
CLOCK_MONOTONIC_RAW that is more expensive, but gets the *actual*
current time rather than the at the last kernel time tick.
2021-03-20 11:25:55 -07:00
..
check Add libssl libraries to Windows build 2020-11-09 16:00:28 +01:00
confgen Address a Sphinx duplicate label warning 2021-02-03 11:44:02 +01:00
delv Reformat sources using clang-format-11 2020-12-08 18:36:23 +01:00
dig dig: Use high resolution clocks when microsecond accuracy is requested 2021-03-20 11:25:55 -07:00
dnssec Cleanup redundant isc_rwlock_init() result checks 2021-02-03 12:22:33 +11:00
named Change the isc_nm_(get|set)timeouts() to work with milliseconds 2021-03-18 16:37:57 +01:00
nsupdate Stop including gssapi.h from dst/gssapi.h header 2021-02-16 01:04:46 +00:00
pkcs11 Add libssl libraries to Windows build 2020-11-09 16:00:28 +01:00
plugins Add filter-a plugin for IPv6-dominant environments 2021-03-19 08:06:55 +01:00
rndc Drop unused headers 2020-11-11 10:08:12 +01:00
tests Add TCP timeouts system test 2021-03-18 16:37:57 +01:00
tools Move cleanup of queries to later in the shutdown sequence 2021-03-04 13:21:56 +01:00
win32/BINDInstall nghttp2-based HTTP layer in netmgr 2021-02-03 12:06:17 +01:00
Makefile.am Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00