time.h (157766) | time.h (177494) |
---|---|
1/* 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 25 unchanged lines hidden (view full) --- 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)time.h 8.3 (Berkeley) 1/21/94 39 */ 40 41/* | 1/* 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 25 unchanged lines hidden (view full) --- 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)time.h 8.3 (Berkeley) 1/21/94 39 */ 40 41/* |
42 * $FreeBSD: head/include/time.h 157766 2006-04-15 03:08:55Z jb $ | 42 * $FreeBSD: head/include/time.h 177494 2008-03-22 09:59:20Z davidxu $ |
43 */ 44 45#ifndef _TIME_H_ 46#define _TIME_H_ 47 48#include <sys/cdefs.h> 49#include <sys/_null.h> 50#include <sys/_types.h> --- 52 unchanged lines hidden (view full) --- 103#define CLOCK_UPTIME 5 /* FreeBSD-specific. */ 104#define CLOCK_UPTIME_PRECISE 7 /* FreeBSD-specific. */ 105#define CLOCK_UPTIME_FAST 8 /* FreeBSD-specific. */ 106#define CLOCK_REALTIME_PRECISE 9 /* FreeBSD-specific. */ 107#define CLOCK_REALTIME_FAST 10 /* FreeBSD-specific. */ 108#define CLOCK_MONOTONIC_PRECISE 11 /* FreeBSD-specific. */ 109#define CLOCK_MONOTONIC_FAST 12 /* FreeBSD-specific. */ 110#define CLOCK_SECOND 13 /* FreeBSD-specific. */ | 43 */ 44 45#ifndef _TIME_H_ 46#define _TIME_H_ 47 48#include <sys/cdefs.h> 49#include <sys/_null.h> 50#include <sys/_types.h> --- 52 unchanged lines hidden (view full) --- 103#define CLOCK_UPTIME 5 /* FreeBSD-specific. */ 104#define CLOCK_UPTIME_PRECISE 7 /* FreeBSD-specific. */ 105#define CLOCK_UPTIME_FAST 8 /* FreeBSD-specific. */ 106#define CLOCK_REALTIME_PRECISE 9 /* FreeBSD-specific. */ 107#define CLOCK_REALTIME_FAST 10 /* FreeBSD-specific. */ 108#define CLOCK_MONOTONIC_PRECISE 11 /* FreeBSD-specific. */ 109#define CLOCK_MONOTONIC_FAST 12 /* FreeBSD-specific. */ 110#define CLOCK_SECOND 13 /* FreeBSD-specific. */ |
111#define CLOCK_THREAD_CPUTIME_ID 14 |
|
111#endif /* !defined(CLOCK_REALTIME) && __POSIX_VISIBLE >= 200112 */ 112 113#if !defined(TIMER_ABSTIME) && __POSIX_VISIBLE >= 200112 114#if __BSD_VISIBLE 115#define TIMER_RELTIME 0x0 /* relative timer */ 116#endif 117#define TIMER_ABSTIME 0x1 /* absolute timer */ 118#endif /* !defined(TIMER_ABSTIME) && __POSIX_VISIBLE >= 200112 */ --- 73 unchanged lines hidden --- | 112#endif /* !defined(CLOCK_REALTIME) && __POSIX_VISIBLE >= 200112 */ 113 114#if !defined(TIMER_ABSTIME) && __POSIX_VISIBLE >= 200112 115#if __BSD_VISIBLE 116#define TIMER_RELTIME 0x0 /* relative timer */ 117#endif 118#define TIMER_ABSTIME 0x1 /* absolute timer */ 119#endif /* !defined(TIMER_ABSTIME) && __POSIX_VISIBLE >= 200112 */ --- 73 unchanged lines hidden --- |