Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Apr 2006 22:40:00 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 95285 for review
Message-ID:  <200604142240.k3EMe0kp076659@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=95285

Change 95285 by jb@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604142240.k3EMe0kp076659>