about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/bits/time.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-08-12 22:02:53 +0000
committerRoland McGrath <roland@gnu.org>2001-08-12 22:02:53 +0000
commit2c6497200622cb3f9551f0c8120c2d3535f2a25d (patch)
tree62816c86a76c4e8cd3777190759261afcbfb3803 /sysdeps/mach/hurd/bits/time.h
parent5c7665dc18f2cc0427aed0bd063a10b61a263cb0 (diff)
downloadglibc-2c6497200622cb3f9551f0c8120c2d3535f2a25d.tar.gz
glibc-2c6497200622cb3f9551f0c8120c2d3535f2a25d.tar.xz
glibc-2c6497200622cb3f9551f0c8120c2d3535f2a25d.zip
* hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
	* sysdeps/mach/hurd/bits/time.h
	(CLOCK_PROCESS_CPUTIME_ID, CLOCK_THREAD_CPUTIME_ID): New macros.
	* sysdeps/mach/hurd/i386/bits/time.h: File removed.
Diffstat (limited to 'sysdeps/mach/hurd/bits/time.h')
-rw-r--r--sysdeps/mach/hurd/bits/time.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/bits/time.h b/sysdeps/mach/hurd/bits/time.h
index 73574b7029..58c1eafa2a 100644
--- a/sysdeps/mach/hurd/bits/time.h
+++ b/sysdeps/mach/hurd/bits/time.h
@@ -1,5 +1,5 @@
 /* System-dependent timing definitions.  Hurd version.
-   Copyright (C) 1996, 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
+   Copyright (C) 1996,97,99,2000,01 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -43,7 +43,11 @@ extern long int __sysconf (int);
 
 #  ifdef __USE_POSIX199309
 /* Identifier for system-wide realtime clock.  */
-#   define CLOCK_REALTIME	0
+#   define CLOCK_REALTIME		0
+/* High-resolution timer from the CPU.  */
+#   define CLOCK_PROCESS_CPUTIME_ID	2
+/* Thread-specific CPU-time clock.  */
+#   define CLOCK_THREAD_CPUTIME_ID	3
 
 /* Flag to indicate time is absolute.  */
 #   define TIMER_ABSTIME	1