From: Ulrich Drepper Date: Sat, 2 Apr 2011 19:27:07 +0000 (-0400) Subject: Define CLOCK_BOOTTIME. X-Git-Tag: glibc-2.14~190 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=94521213b6b157037944693f56dec159da0084bc;p=thirdparty%2Fglibc.git Define CLOCK_BOOTTIME. --- diff --git a/ChangeLog b/ChangeLog index ff874664aed..8794892142f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2011-04-02 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define. + 2011-03-26 H.J. Lu [BZ #12518] diff --git a/sysdeps/unix/sysv/linux/bits/time.h b/sysdeps/unix/sysv/linux/bits/time.h index 02a05114f28..a0d4b7823f5 100644 --- a/sysdeps/unix/sysv/linux/bits/time.h +++ b/sysdeps/unix/sysv/linux/bits/time.h @@ -71,6 +71,8 @@ extern long int __sysconf (int); # define CLOCK_REALTIME_COARSE 5 /* Monotonic system-wide clock, updated only on ticks. */ # define CLOCK_MONOTONIC_COARSE 6 +/* Monotonic system-wide clock that includes time spent in suspension. */ +# define CLOCK_BOOTTIME 7 /* Flag to indicate time is absolute. */ # define TIMER_ABSTIME 1