From db13e32cb8d5f74fe61880459c7ddf8f47da436b Mon Sep 17 00:00:00 2001 From: Mike Crowe Date: Wed, 19 Jun 2019 18:05:12 -0300 Subject: support: Add xclock_now helper function. It's easier to read and write tests with: const struct timespec ts = xclock_now(CLOCK_REALTIME); than struct timespec ts; xclock_gettime(CLOCK_REALTIME, &ts); * support/xtime.h: Add xclock_now() helper function. --- ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 05291d7825..de58169b61 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2019-06-20 Mike Crowe + + * support/xtime.h: Add xclock_now() helper function. + 2019-06-20 Dmitry V. Levin Florian Weimer -- cgit v1.2.3