summaryrefslogtreecommitdiffstats
path: root/lib/libsqlite3/src/expr.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2015-03-11 04:05:18 +0000
committerdlg <dlg@openbsd.org>2015-03-11 04:05:18 +0000
commite600375965f48191d455ea78a807b49e1ed0f47c (patch)
treee2ec10070bf79eed95020f2441901a2e520349c6 /lib/libsqlite3/src/expr.c
parentport src/sbin/ping/ping.c r1.115. (diff)
downloadwireguard-openbsd-e600375965f48191d455ea78a807b49e1ed0f47c.tar.xz
wireguard-openbsd-e600375965f48191d455ea78a807b49e1ed0f47c.zip
port the idea of using clock_gettime(CLOCK_MONOTONIC) for measuring
intervals from src/sbin/ping/ping.c r1.115. > use clock_gettime(CLOCK_MONOTONIC) to get timestamps to measure the > interval between sending a ping and getting a reply for it. > > this makes it resistant against local wall clock changes, which can > skew the intervals reported or make them go negative. this version puts clock_getting in a local gettime() function that converts to a struct timeval that all the previous callers of gettimeofday expect to get. requested by deraadt@ florian@
Diffstat (limited to 'lib/libsqlite3/src/expr.c')
0 files changed, 0 insertions, 0 deletions