[PATCH] bits/time.h: sync with glibc 2.16
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Fri Jul 13 20:39:39 UTC 2012
On Jul 13, 2012 11:54 AM, "Peter Korsgaard" <jacmet at sunsite.dk> wrote:
>
> >>>>> "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?
Applied, will push ASAP (same for the other recent patches that were sent).
Thanks,
>
> 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
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc
More information about the uClibc
mailing list