[0/2] Implement newly add timebase defines for c2x timespec_get and timespec_getres

Message ID 20230621183206.260-1-luoyonggang@gmail.com
Headers
Series Implement newly add timebase defines for c2x timespec_get and timespec_getres |

Message

Yonggang Luo June 21, 2023, 6:32 p.m. UTC
  The c2x and extra defines comes from
https://gustedt.gitlabpages.inria.fr/c23-library/#time_monotonic-time_active-time_thread_active

Yonggang Luo (2):
  time: Implement newly add timebase defines for c2x timespec_get and
    timespec_getres
  time: Implement extra timebase defines for timespec_get and
    timespec_getres

 NEWS                                      | 15 +++++
 include/time.h                            | 60 +++++++++++++++++++
 sysdeps/unix/sysv/linux/timespec_get.c    |  7 ++-
 sysdeps/unix/sysv/linux/timespec_getres.c |  5 +-
 time/time.h                               | 17 +++++-
 time/timespec_get.c                       |  7 ++-
 time/timespec_getres.c                    |  7 ++-
 time/tst-timespec_get.c                   | 58 +++++++++++++++++--
 time/tst-timespec_getres.c                | 70 ++++++++++++++++++-----
 9 files changed, 217 insertions(+), 29 deletions(-)