about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-04-02 15:27:07 -0400
committerUlrich Drepper <drepper@gmail.com>2011-04-02 15:27:07 -0400
commit94521213b6b157037944693f56dec159da0084bc (patch)
tree1aaa5f8dc5bdedef4ec44410594075b9e642448f /sysdeps/unix
parent0354e355014b7bfda32622e0255399d859862fcd (diff)
downloadglibc-94521213b6b157037944693f56dec159da0084bc.tar.gz
glibc-94521213b6b157037944693f56dec159da0084bc.tar.xz
glibc-94521213b6b157037944693f56dec159da0084bc.zip
Define CLOCK_BOOTTIME.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/bits/time.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/time.h b/sysdeps/unix/sysv/linux/bits/time.h
index 02a05114f2..a0d4b7823f 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