time.h (992879a0269543943362816e3c593c4388bf6c3e) time.h (9939a13667567dd4b0c3496953d99b87a6995208)
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.

--- 94 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. */
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.

--- 94 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 ---