diff options
| author | 2015-03-11 03:35:17 +0000 | |
|---|---|---|
| committer | 2015-03-11 03:35:17 +0000 | |
| commit | 6ffa143708816d9fe7d29624b6acd4ec37bf5d9c (patch) | |
| tree | 605dc8c3f37e5f16c529e87b521d8780469fa45d /lib/libsqlite3/src/test_intarray.c | |
| parent | add back the changes from rev 1.206, djm reverted this by mistake in (diff) | |
| download | wireguard-openbsd-6ffa143708816d9fe7d29624b6acd4ec37bf5d9c.tar.xz wireguard-openbsd-6ffa143708816d9fe7d29624b6acd4ec37bf5d9c.zip | |
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.
ok deraadt@ florian@
makes sense to lots of others
Diffstat (limited to 'lib/libsqlite3/src/test_intarray.c')
0 files changed, 0 insertions, 0 deletions
