diff options
author | Mike Crowe <mac@mcrowe.com> | 2019-06-19 18:05:12 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-06-21 09:59:50 -0300 |
commit | db13e32cb8d5f74fe61880459c7ddf8f47da436b (patch) | |
tree | 3fa0b0b97ac6547a7b8390f88f0834bbbc1c88ca /support/test-driver.h | |
parent | 21cc130b78a4db9113fb6695e2b951e697662440 (diff) | |
download | glibc-db13e32cb8d5f74fe61880459c7ddf8f47da436b.tar.gz glibc-db13e32cb8d5f74fe61880459c7ddf8f47da436b.tar.xz glibc-db13e32cb8d5f74fe61880459c7ddf8f47da436b.zip |
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.
Diffstat (limited to 'support/test-driver.h')
0 files changed, 0 insertions, 0 deletions