t/read-to-pipe-async: Use the monotonic clock when measuring time intervals
authorBart Van Assche <bvanassche@acm.org>
Wed, 1 Jan 2020 23:01:53 +0000 (15:01 -0800)
committerBart Van Assche <bvanassche@acm.org>
Thu, 2 Jan 2020 04:18:12 +0000 (20:18 -0800)
commit6a087e5a0e731a7982980eca6d260cecfaa1742d
treef6737acc2cf30938e19d69a118c1e3eb136376ee
parent78b66d32c2952d13d1ba73a2e2c15739585535a9
t/read-to-pipe-async: Use the monotonic clock when measuring time intervals

Make the output independent of wall clock changes applied by e.g. ntpd.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
t/read-to-pipe-async.c