t/read-to-pipe-async: use gettimeofday() instead of clock_gettime()
authorJens Axboe <axboe@fb.com>
Fri, 25 Mar 2016 15:40:41 +0000 (09:40 -0600)
committerJens Axboe <axboe@fb.com>
Fri, 25 Mar 2016 15:40:41 +0000 (09:40 -0600)
commit53280a1dc785ef0447aa5cf8e32e899ecfc22978
tree48c135c6315db85f7f1b7c1991018870dd4adfd4
parent28cacec42ffebeec281caae90065ee1af319dfa4
t/read-to-pipe-async: use gettimeofday() instead of clock_gettime()

We don't have clock_gettime() on all supported platforms, we can
just use gettimeofday() and convert to timespec.

Signed-off-by: Jens Axboe <axboe@fb.com>
t/read-to-pipe-async.c