[PATCH] bits/time.h: sync with glibc 2.16
Peter Korsgaard
jacmet at sunsite.dk
Fri Jul 13 09:54:09 UTC 2012
>>>>> "Peter" == Peter Korsgaard <jacmet at sunsite.dk> writes:
Peter> CLOCK_MONOTONIC_RAW is available since 2.6.28
Peter> (2d42244ae71d: clocksource: introduce CLOCK_MONOTONIC_RAW), and
Peter> CLOCK_*_COARSE since 2.6.32 (da15cfdae033: time: Introduce
Peter> CLOCK_REALTIME_COARSE).
Peter> Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
Ping?
Peter> ---
Peter> libc/sysdeps/linux/common/bits/time.h | 6 ++++++
Peter> 1 file changed, 6 insertions(+)
Peter> diff --git a/libc/sysdeps/linux/common/bits/time.h b/libc/sysdeps/linux/common/bits/time.h
Peter> index 7ed54bf..c871223 100644
Peter> --- a/libc/sysdeps/linux/common/bits/time.h
Peter> +++ b/libc/sysdeps/linux/common/bits/time.h
Peter> @@ -54,6 +54,12 @@
Peter> # define CLOCK_PROCESS_CPUTIME_ID 2
Peter> /* Thread-specific CPU-time clock. */
Peter> # define CLOCK_THREAD_CPUTIME_ID 3
Peter> +/* Monotonic system-wide clock, not adjusted for frequency scaling. */
Peter> +# define CLOCK_MONOTONIC_RAW 4
Peter> +/* Identifier for system-wide realtime clock, updated only on ticks. */
Peter> +# define CLOCK_REALTIME_COARSE 5
Peter> +/* Monotonic system-wide clock, updated only on ticks. */
Peter> +# define CLOCK_MONOTONIC_COARSE 6
Peter> /* Flag to indicate time is absolute. */
Peter> # define TIMER_ABSTIME 1
Peter> --
Peter> 1.7.10
--
Bye, Peter Korsgaard
More information about the uClibc
mailing list