time.h (304843) | time.h (316120) |
---|---|
1/*- 2 * Copyright (c) 1982, 1986, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)time.h 8.5 (Berkeley) 5/4/95 | 1/*- 2 * Copyright (c) 1982, 1986, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)time.h 8.5 (Berkeley) 5/4/95 |
30 * $FreeBSD: stable/11/sys/sys/time.h 304843 2016-08-26 10:04:10Z kib $ | 30 * $FreeBSD: stable/11/sys/sys/time.h 316120 2017-03-29 01:21:48Z vangyzen $ |
31 */ 32 33#ifndef _SYS_TIME_H_ 34#define _SYS_TIME_H_ 35 36#include <sys/_timeval.h> 37#include <sys/types.h> 38#include <sys/timespec.h> --- 339 unchanged lines hidden (view full) --- 378extern sbintime_t tick_sbt; 379extern int tc_precexp; 380extern int tc_timepercentage; 381extern struct bintime bt_timethreshold; 382extern struct bintime bt_tickthreshold; 383extern sbintime_t sbt_timethreshold; 384extern sbintime_t sbt_tickthreshold; 385 | 31 */ 32 33#ifndef _SYS_TIME_H_ 34#define _SYS_TIME_H_ 35 36#include <sys/_timeval.h> 37#include <sys/types.h> 38#include <sys/timespec.h> --- 339 unchanged lines hidden (view full) --- 378extern sbintime_t tick_sbt; 379extern int tc_precexp; 380extern int tc_timepercentage; 381extern struct bintime bt_timethreshold; 382extern struct bintime bt_tickthreshold; 383extern sbintime_t sbt_timethreshold; 384extern sbintime_t sbt_tickthreshold; 385 |
386extern volatile int rtc_generation; 387 |
|
386/* 387 * Functions for looking at our clock: [get]{bin,nano,micro}[up]time() 388 * 389 * Functions without the "get" prefix returns the best timestamp 390 * we can produce in the given format. 391 * 392 * "bin" == struct bintime == seconds + 64 bit fraction of seconds. 393 * "nano" == struct timespec == seconds + nanoseconds. --- 106 unchanged lines hidden --- | 388/* 389 * Functions for looking at our clock: [get]{bin,nano,micro}[up]time() 390 * 391 * Functions without the "get" prefix returns the best timestamp 392 * we can produce in the given format. 393 * 394 * "bin" == struct bintime == seconds + 64 bit fraction of seconds. 395 * "nano" == struct timespec == seconds + nanoseconds. --- 106 unchanged lines hidden --- |