diff options
author | Todd Poynor <toddpoynor@google.com> | 2013-05-10 18:23:40 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2013-05-14 14:43:59 -0700 |
commit | 5c4340b2abc43278d6cb8fcf5a1379f68ef0842a (patch) | |
tree | 3d3d1e181dee82b4fa4da96d7fc96c921c6f8d0a /libc/include | |
parent | 7cb82791cada0283648fedc316171cbffda79af7 (diff) | |
download | bionic-5c4340b2abc43278d6cb8fcf5a1379f68ef0842a.zip bionic-5c4340b2abc43278d6cb8fcf5a1379f68ef0842a.tar.gz bionic-5c4340b2abc43278d6cb8fcf5a1379f68ef0842a.tar.bz2 |
libc: remove obsolete CLOCK_REALTIME_HR and CLOCK_MONOTONIC_HR
Add CLOCK_MONOTONIC_RAW, CLOCK_REALTIME_COARSE, and CLOCK_MONOTONIC_COARSE
as supported by recent linux kernels.
(cherry-pick of 60e5144ca312b210b54ac8e6966108da0c97ff80.)
Bug: 8895727
Change-Id: If79a4d05d1301108f49a37588f9416c4be19277a
Diffstat (limited to 'libc/include')
-rw-r--r-- | libc/include/time.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/include/time.h b/libc/include/time.h index edcc5bd..8995585 100644 --- a/libc/include/time.h +++ b/libc/include/time.h @@ -101,8 +101,9 @@ extern int clock_gettime(int, struct timespec *); #define CLOCK_MONOTONIC 1 #define CLOCK_PROCESS_CPUTIME_ID 2 #define CLOCK_THREAD_CPUTIME_ID 3 -#define CLOCK_REALTIME_HR 4 -#define CLOCK_MONOTONIC_HR 5 +#define CLOCK_MONOTONIC_RAW 4 +#define CLOCK_REALTIME_COARSE 5 +#define CLOCK_MONOTONIC_COARSE 6 #define CLOCK_BOOTTIME 7 #define CLOCK_REALTIME_ALARM 8 #define CLOCK_BOOTTIME_ALARM 9 |