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
This commit is contained in:
parent
7cb82791ca
commit
5c4340b2ab
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user