亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? timex.h

?? 內核中關于nano計時的功能
?? H
字號:
/* * Copyright (c) David L. Mills 1993, 1994 * * Permission to use, copy, modify, and distribute this software and its * documentation for any purpose and without fee is hereby granted, provided * that the above copyright notice appears in all copies and that both the * copyright notice and this permission notice appear in supporting * documentation, and that the name University of Delaware not be used in * advertising or publicity pertaining to distribution of the software * without specific, written prior permission.	The University of Delaware * makes no representations about the suitability this software for any * purpose.  It is provided "as is" without express or implied warranty. *//* * Copyright (c) 1996-1997, Sun Microsystems, Inc. * All rights reserved. */#ifndef	_SYS_TIMEX_H#define	_SYS_TIMEX_H#pragma ident	"@(#)timex.h	1.5	97/08/12 SMI"#ifdef	__cplusplusextern "C" {#endif#include <sys/types.h>#include <sys/time.h>#include <sys/syscall.h>#include <sys/inttypes.h>/* * The following defines establish the engineering parameters of the * phase-lock loop (PLL) model used in the kernel implementation. These * parameters have been carefully chosen by analysis for good stability * and wide dynamic range. * * The hz variable is defined in the kernel build environment. It * establishes the timer interrupt frequency. * * SCALE_KG and SCALE_KF establish the damping of the PLL and are chosen * for a slightly underdamped convergence characteristic. SCALE_KH * establishes the damping of the FLL and is chosen by wisdom and black * art. * * MAXTC establishes the maximum time constant of the PLL. With the * SCALE_KG and SCALE_KF values given and a time constant range from * zero to MAXTC, the PLL will converge in 15 minutes to 16 hours, * respectively. */#define	SCALE_KG	(1<<6)	/* phase factor (multiplier) */#define	SCALE_KF	(1<<16)	/* PLL frequency factor (multiplier) */#define	SCALE_KH	(1<<2)	/* FLL frequency factor (multiplier) */#define	MAXTC		(1<<6)	/* maximum time constant *//* * The following defines establish the scaling of the various variables * used by the PLL. They are chosen to allow the greatest precision * possible without overflow of a 32-bit word. * * SCALE_PHASE defines the scaling (multiplier) of the time_phase variable, * which serves as a an extension to the low-order bits of the system * clock variable time.tv_usec. * * SCALE_UPDATE defines the scaling (multiplier) of the time_offset variable, * which represents the current time offset with respect to standard * time. * * SCALE_USEC defines the scaling (multiplier) of the time_freq and * time_tolerance variables, which represent the current frequency * offset and maximum frequency tolerance. * * FINEUSEC is 1 us in SCALE_UPDATE units of the time_phase variable. */#define	SCALE_PHASE	(1<<22)	/* phase scale */#define	SCALE_USEC	(1<<16)#define	SCALE_UPDATE	(SCALE_KG * MAXTC) /*  */#define	FINEUSEC	(1<<22)	/* 1 us in phase units *//* * The following defines establish the performance envelope of the PLL. * They insure it operates within predefined limits, in order to satisfy * correctness assertions. An excursion which exceeds these bounds is * clamped to the bound and operation proceeds accordingly. In practice, * this can occur only if something has failed or is operating out of * tolerance, but otherwise the PLL continues to operate in a stable * mode. * * MAXPHASE must be set greater than or equal to CLOCK.MAX (128 ms), as * defined in the NTP specification. CLOCK.MAX establishes the maximum * time offset allowed before the system time is reset, rather than * incrementally adjusted. Here, the maximum offset is clamped to * MAXPHASE only in order to prevent overflow errors due to defective * protocol implementations. * * MAXFREQ is the maximum frequency tolerance of the CPU clock * oscillator plus the maximum slew rate allowed by the protocol. It * should be set to at least the frequency tolerance of the oscillator * plus 100 ppm for vernier frequency adjustments. The oscillator time and * frequency are disciplined to an external source, presumably with * negligible time and frequency error relative to UTC, and MAXFREQ can * be reduced. * * MAXTIME is the maximum jitter tolerance of the PPS signal. * * MINSEC and MAXSEC define the lower and upper bounds on the interval * between protocol updates. */#define	MAXPHASE 512000		/* max phase error (us) */#define	MAXFREQ (512 * SCALE_USEC) /* max freq error (100 ppm) */#define	MAXTIME (200 << PPS_AVG) /* max PPS error (jitter) (200 us) */#define	MINSEC 16		/* min interval between updates (s) */#define	MAXSEC 1200		/* max interval between updates (s) *//* * The following defines are used only if a pulse-per-second (PPS) * signal is available and connected via a modem control lead, such as * produced by the optional ppsclock feature incorporated in the Sun * asynch driver. They establish the design parameters of the frequency- * lock loop used to discipline the CPU clock oscillator to the PPS * signal. * * PPS_AVG is the averaging factor for the frequency loop, as well as * the time and frequency dispersion. * * PPS_SHIFT and PPS_SHIFTMAX specify the minimum and maximum * calibration intervals, respectively, in seconds as a power of two. * * PPS_VALID is the maximum interval before the PPS signal is considered * invalid and protocol updates used directly instead. * * MAXGLITCH is the maximum interval before a time offset of more than * MAXTIME is believed. */#define	PPS_AVG 2		/* pps averaging constant (shift) */#define	PPS_SHIFT 2		/* min interval duration (s) (shift) */#define	PPS_SHIFTMAX 8		/* max interval duration (s) (shift) */#define	PPS_VALID 120		/* pps signal watchdog max (s) */#define	MAXGLITCH 30		/* pps signal glitch max (s) *//* * The following defines and structures define the user interface for * the ntp_gettime() and ntp_adjtime() system calls. * * Control mode codes (timex.modes) */#define	MOD_OFFSET	0x0001	/* set time offset */#define	MOD_FREQUENCY	0x0002	/* set frequency offset */#define	MOD_MAXERROR	0x0004	/* set maximum time error */#define	MOD_ESTERROR	0x0008	/* set estimated time error */#define	MOD_STATUS	0x0010	/* set clock status bits */#define	MOD_TIMECONST	0x0020	/* set pll time constant */#define	MOD_CLKB	0x4000	/* set clock B */#define	MOD_CLKA	0x8000	/* set clock A *//* * Status codes (timex.status) */#define	STA_PLL		0x0001	/* enable PLL updates (rw) */#define	STA_PPSFREQ	0x0002	/* enable PPS freq discipline (rw) */#define	STA_PPSTIME	0x0004	/* enable PPS time discipline (rw) */#define	STA_FLL		0x0008	/* select frequency-lock mode (rw) */#define	STA_INS		0x0010	/* insert leap (rw) */#define	STA_DEL		0x0020	/* delete leap (rw) */#define	STA_UNSYNC	0x0040	/* clock unsynchronized (rw) */#define	STA_FREQHOLD	0x0080	/* hold frequency (rw) */#define	STA_PPSSIGNAL	0x0100	/* PPS signal present (ro) */#define	STA_PPSJITTER	0x0200	/* PPS signal jitter exceeded (ro) */#define	STA_PPSWANDER	0x0400	/* PPS signal wander exceeded (ro) */#define	STA_PPSERROR	0x0800	/* PPS signal calibration error (ro) */#define	STA_CLOCKERR	0x1000	/* clock hardware fault (ro) */#define	STA_RONLY (STA_PPSSIGNAL | STA_PPSJITTER | STA_PPSWANDER | \    STA_PPSERROR | STA_CLOCKERR) /* read-only bits *//* * Clock states (time_state) */#define	TIME_OK		0	/* no leap second warning */#define	TIME_INS	1	/* insert leap second warning */#define	TIME_DEL	2	/* delete leap second warning */#define	TIME_OOP	3	/* leap second in progress */#define	TIME_WAIT	4	/* leap second has occured */#define	TIME_ERROR	5	/* clock not synchronized *//* * NTP user interface (ntp_gettime()) - used to read kernel clock values * * Note: maximum error = NTP synch distance = dispersion + delay / 2; * estimated error = NTP dispersion. */struct ntptimeval {	struct timeval time;	/* current time (ro) */	int32_t maxerror;	/* maximum error (us) (ro) */	int32_t esterror;	/* estimated error (us) (ro) */};#if defined(_SYSCALL32)/* Kernel's view of _ILP32 application's ntptimeval struct */struct ntptimeval32 {	struct timeval32 time;	int32_t	maxerror;	int32_t esterrror;};#endif	/* _SYSCALL32 *//* * NTP daemon interface - (ntp_adjtime()) used to discipline CPU clock * oscillator */struct timex {	uint32_t modes;		/* clock mode bits (wo) */	int32_t offset;		/* time offset (us) (rw) */	int32_t freq;		/* frequency offset (scaled ppm) (rw) */	int32_t maxerror;	/* maximum error (us) (rw) */	int32_t esterror;	/* estimated error (us) (rw) */	int32_t status;		/* clock status bits (rw) */	int32_t constant;	/* pll time constant (rw) */	int32_t precision;	/* clock precision (us) (ro) */	int32_t tolerance;	/* clock freq tolerance (scaled ppm) (ro) */	int32_t ppsfreq;	/* pps frequency (scaled ppm) (ro) */	int32_t jitter;		/* pps jitter (us) (ro) */	int32_t shift;		/* interval duration (s) (shift) (ro) */	int32_t stabil;		/* pps stability (scaled ppm) (ro) */	int32_t jitcnt;		/* jitter limit exceeded (ro) */	int32_t calcnt;		/* calibration intervals (ro) */	int32_t errcnt;		/* calibration errors (ro) */	int32_t stbcnt;		/* stability limit exceeded (ro) */};#if defined(__STDC__)/* * NTP syscalls */int ntp_gettime(struct ntptimeval *);int ntp_adjtime(struct timex *);#elseint ntp_gettime();int ntp_adjtime();#endif /* __STDC__ */#ifdef _KERNELextern int32_t time_state;	/* clock state */extern int32_t time_status;	/* clock status bits */extern int32_t time_offset;	/* time adjustment (us) */extern int32_t time_freq;	/* frequency offset (scaled ppm) */extern int32_t time_maxerror;	/* maximum error (us) */extern int32_t time_esterror;	/* estimated error (us) */extern int32_t time_constant;	/* pll time constant */extern int32_t time_precision;	/* clock precision (us) */extern int32_t time_tolerance;	/* frequency tolerance (scaled ppm) */extern int32_t pps_shift;	/* interval duration (s) (shift) */extern int32_t pps_freq;	/* pps frequency offset (scaled ppm) */extern int32_t pps_jitter;	/* pps jitter (us) */extern int32_t pps_stabil;	/* pps stability (scaled ppm) */extern int32_t pps_jitcnt;	/* jitter limit exceeded */extern int32_t pps_calcnt;	/* calibration intervals */extern int32_t pps_errcnt;	/* calibration errors */extern int32_t pps_stbcnt;	/* stability limit exceeded */extern void clock_update(int);#endif /* _KERNEL */#ifdef	__cplusplus}#endif#endif	/* _SYS_TIMEX_H */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美在线制服丝袜| 午夜精品福利一区二区三区蜜桃| 欧美高清dvd| 欧美另类久久久品| 91欧美一区二区| 亚洲一级片在线观看| 亚洲成在人线在线播放| 午夜久久久久久久久| 欧美午夜精品一区二区三区| 视频一区二区不卡| 欧美一区二区三区公司| 555夜色666亚洲国产免| 成人黄色一级视频| 日韩伦理电影网| 91在线看国产| 欧美三级三级三级爽爽爽| 欧美一卡二卡三卡四卡| 国产麻豆9l精品三级站| 精品亚洲国产成人av制服丝袜| 精品一区二区免费视频| 亚洲欧洲综合另类| 日韩电影在线一区二区三区| 蜜臀av在线播放一区二区三区| 国产在线观看一区二区 | 亚洲女性喷水在线观看一区| 欧美三级一区二区| 国产a精品视频| 欧美亚洲精品一区| 国产日韩在线不卡| 欧美一区二区三区白人| 午夜电影网亚洲视频| 亚洲国产高清aⅴ视频| 日韩精品电影一区亚洲| 亚洲一区二区三区四区五区黄| 久久电影网站中文字幕| 美女国产一区二区| 在线播放视频一区| 亚洲精品你懂的| 94-欧美-setu| caoporen国产精品视频| 福利一区福利二区| 国产69精品久久99不卡| 91精品国产一区二区三区 | 亚洲电影一区二区三区| 成人动漫精品一区二区| 欧美国产精品一区二区三区| 激情图区综合网| 国产69精品久久777的优势| 国产女人18水真多18精品一级做| 91麻豆精品国产自产在线 | 不卡欧美aaaaa| 一本久久a久久精品亚洲| 91福利视频久久久久| 亚洲最色的网站| 91精品国产综合久久精品图片 | 国产成人免费在线| 成人免费一区二区三区在线观看| 99精品视频中文字幕| 精品日韩一区二区三区免费视频| 天堂久久一区二区三区| 日韩欧美国产麻豆| 中文字幕不卡一区| 亚洲成av人片| 欧美精品一区二区久久婷婷| 成人黄色免费短视频| 五月天精品一区二区三区| 美女视频免费一区| 国产精品久久久久桃色tv| 91久久线看在观草草青青| 久久影院视频免费| 日韩成人av影视| 国产精品网站在线| 粉嫩av一区二区三区| 亚洲一区二区三区精品在线| 欧美大片在线观看一区| 在线免费观看日本欧美| 国产精品1区二区.| 久久久国产午夜精品| 777a∨成人精品桃花网| 亚洲最大成人综合| 欧美激情在线一区二区| 国产精品一区二区久激情瑜伽| 欧美一区二区三区日韩视频| 欧美性猛片xxxx免费看久爱| 亚洲精品一二三| 亚洲视频一区二区免费在线观看| 成人性生交大片免费看中文网站| 蜜臀av性久久久久蜜臀aⅴ流畅| 一区二区三区小说| 99re热视频精品| 夜夜亚洲天天久久| 一区二区三区精品视频| 日韩码欧中文字| 午夜婷婷国产麻豆精品| 国产精品视频在线看| 精品国产乱码久久久久久影片| 日韩一卡二卡三卡四卡| 日韩一级在线观看| 国产999精品久久久久久| 国产精品1区2区3区在线观看| 欧美v国产在线一区二区三区| 精品在线亚洲视频| 久久国产精品色婷婷| 中文字幕一区二区5566日韩| 欧洲中文字幕精品| 国产精品一区二区三区网站| 成人中文字幕合集| 在线观看亚洲专区| 国产69精品久久久久777| 91麻豆国产精品久久| 经典三级视频一区| 99久久精品国产一区二区三区| 91网上在线视频| 国产一区激情在线| 欧美亚洲综合另类| 国产在线一区观看| 午夜欧美大尺度福利影院在线看 | 国产精品一级在线| 欧美精品在线观看播放| 国产女同性恋一区二区| 欧美xxxxx牲另类人与| 亚洲欧洲制服丝袜| 92精品国产成人观看免费| 精品伦理精品一区| 日本欧美在线观看| 男男gaygay亚洲| 日本va欧美va瓶| 欧美丝袜丝交足nylons| 色女孩综合影院| 日本韩国视频一区二区| 色综合网色综合| 中文字幕佐山爱一区二区免费| 欧美午夜一区二区三区| 精品欧美黑人一区二区三区| 欧美男男青年gay1069videost | 一区二区成人在线视频| 成人黄色片在线观看| 日韩理论片中文av| 成人免费av在线| 椎名由奈av一区二区三区| 99久久久免费精品国产一区二区| 91年精品国产| 亚洲一区二区三区四区的| 欧美午夜一区二区三区免费大片| 亚洲国产一区二区三区青草影视 | ww久久中文字幕| 国产精品1区二区.| 久久一区二区三区四区| 国产白丝精品91爽爽久久| 国产精品美女久久久久久久 | 26uuu久久天堂性欧美| 国产精品亚洲综合一区在线观看| 国产乱码精品一区二区三区av| 国产精品99久久久久久久女警| 欧洲激情一区二区| 日本sm残虐另类| 中文字幕一区在线| 国内精品国产成人| 在线免费观看不卡av| 国产偷v国产偷v亚洲高清| 亚洲欧美日本在线| 精品国产免费视频| 欧美色男人天堂| 福利电影一区二区三区| 日韩女优电影在线观看| 色哟哟一区二区在线观看 | 91美女片黄在线观看91美女| 蜜臀av性久久久久蜜臀aⅴ | 亚洲美女偷拍久久| 制服丝袜亚洲精品中文字幕| 黄色小说综合网站| 日韩一区二区精品| 一道本成人在线| 一区二区三区在线视频观看| 成人高清伦理免费影院在线观看| 久久精品人人爽人人爽| 国产一区二区三区最好精华液| 在线播放中文字幕一区| 久久成人免费网站| 日韩经典一区二区| 日韩国产高清在线| 免费观看在线综合| 久久伊99综合婷婷久久伊| 日韩欧美一级在线播放| 欧美一区二区网站| 欧美α欧美αv大片| 国产一区二区三区日韩| 国产在线不卡一区| 国产一区二区在线观看免费| 国产一区二区女| 成人黄色片在线观看| 在线一区二区三区| 免费观看在线色综合| 国产宾馆实践打屁股91| 99久久精品情趣| 91精品国产综合久久久久| 极品少妇一区二区| 成人激情小说乱人伦| 色噜噜狠狠成人中文综合 | 亚洲男人的天堂在线观看|