PERFORCE change 95285 for review
John Birrell
jb at FreeBSD.org
Fri Apr 14 22:40:01 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=95285
Change 95285 by jb at jb_freebsd2 on 2006/04/14 22:39:13
The newest CLOCK_ defines in sys/time.h are supposed to be in time.h
too, otherwise they can't be accessed in an code which happens to
include time.h first.
Affected files ...
.. //depot/projects/dtrace/src/include/time.h#2 edit
Differences ...
==== //depot/projects/dtrace/src/include/time.h#2 (text+ko) ====
@@ -100,6 +100,14 @@
#define CLOCK_PROF 2
#endif
#define CLOCK_MONOTONIC 4
+#define CLOCK_UPTIME 5 /* FreeBSD-specific. */
+#define CLOCK_UPTIME_PRECISE 7 /* FreeBSD-specific. */
+#define CLOCK_UPTIME_FAST 8 /* FreeBSD-specific. */
+#define CLOCK_REALTIME_PRECISE 9 /* FreeBSD-specific. */
+#define CLOCK_REALTIME_FAST 10 /* FreeBSD-specific. */
+#define CLOCK_MONOTONIC_PRECISE 11 /* FreeBSD-specific. */
+#define CLOCK_MONOTONIC_FAST 12 /* FreeBSD-specific. */
+#define CLOCK_SECOND 13 /* FreeBSD-specific. */
#endif /* !defined(CLOCK_REALTIME) && __POSIX_VISIBLE >= 200112 */
#if !defined(TIMER_ABSTIME) && __POSIX_VISIBLE >= 200112
More information about the p4-projects
mailing list