bind9/lib/isc/win32
Patrick McLean ebced74b19 Add isc_time_now_hires function to get current time with high resolution
The current isc_time_now uses CLOCK_REALTIME_COARSE which only updates
on a timer tick. This clock is generally fine for millisecond accuracy,
but on servers with 100hz clocks, this clock is nowhere near accurate
enough for microsecond accuracy.

This commit adds a new isc_time_now_hires function that uses
CLOCK_REALTIME, which gives the current time, though it is somewhat
expensive to call. When microsecond accuracy is required, it may be
required to use extra resources for higher accuracy.
2021-03-20 11:25:55 -07:00
..
include Add isc_time_now_hires function to get current time with high resolution 2021-03-20 11:25:55 -07:00
.dir-locals.el Add emacs .dir-locals.el settings for flycheck mode 2018-12-19 17:03:37 +01:00
condition.c Change the isc_thread_self() return type to uintptr_t 2021-02-25 16:21:10 +01:00
dir.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
DLLMain.c Call isc__initialize()/isc__shutdown() from win32 DllMain 2021-03-01 14:24:57 +01:00
errno.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
errno2result.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
errno2result.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
file.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
fsaccess.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
interfaceiter.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
ipv6.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
libgen.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
libisc.def.exclude Remove unused obsolete isc_hash_* function, and just keep the FNV-1a version 2018-04-04 23:12:14 +02:00
libisc.def.in Add isc_time_now_hires function to get current time with high resolution 2021-03-20 11:25:55 -07:00
libisc.vcxproj.filters.in Add isc_trampoline API to have simple accounting around threads 2021-02-25 16:21:10 +01:00
libisc.vcxproj.in Add isc_trampoline API to have simple accounting around threads 2021-02-25 16:21:10 +01:00
libisc.vcxproj.user Convert *.vcxproj.user to CRLF line endings 2019-03-08 18:01:48 +01:00
meminfo.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
net.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
netdb.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
ntgroups.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
ntpaths.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
once.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
os.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
pk11_api.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
resource.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
socket.c Reformat sources using clang-format-11 2020-12-08 18:36:23 +01:00
stdio.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
stdtime.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
syslog.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
syslog.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
thread.c Add isc_trampoline API to have simple accounting around threads 2021-02-25 16:21:10 +01:00
time.c Add isc_time_now_hires function to get current time with high resolution 2021-03-20 11:25:55 -07:00
unistd.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
win32os.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00