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

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

?? wvtmrlib.c

?? vxwork源代碼
?? C
字號:
/* wvTmrLib.c - timer library (WindView) *//* Copyright 1984-1998 Wind River Systems, Inc. */#include "copyright_wrs.h"/*modification history--------------------01i,05oct98,jmp  doc: fixed SEE ALSO section.01h,28may98,dgp  clean up man pages for WV 2.0 beta release01g,15apr98,cjtc WV2.0 i960 port01f,03feb95,rhp  docn improvements from last printed man pages01e,01feb95,rhp  library man page: add ref to User's Guide01d,05apr94,smb  and more documentation changes01c,07mar94,smb  more documentation changes01b,17jan94,smb  documentation changes01a,10dec93,smb  created*//*DESCRIPTIONThis library allows a WindView timestamp timer to be registered.  When thistimer is enabled, events are tagged with a timestamp as they are logged.Seven routines are required: a timestamp routine, a timestamp routine thatguarantees interrupt lockout, a routine that enables the timer driver, aroutine that disables the timer driver, a routine that specifies theroutine to run when the timer hits a rollover, a routine that returns theperiod of the timer, and a routine that returns the frequency of thetimer.INCLUDE FILES:SEE ALSO: wvLib,.I WindView User's Guide*//* includes */#include "vxWorks.h"#include "wvTmrLib.h"#include "private/eventP.h"#if CPU_FAMILY == I960/* locals */LOCAL FUNCPTR _func_tmrFreqRaw;		/* original timestamp freq routine *//* forward declarations */LOCAL void 	wvI960TmrSelect (void);LOCAL UINT32 	wvI960TmrFreq (void);#endif/********************************************************************************* wvTmrRegister - register a timestamp timer (WindView)** This routine registers a timestamp routine for each of the following: * .iP <wvTmrRtn>* a timestamp routine, which returns a timestamp when called (must be called* with interrupts locked).* .iP <wvTmrLockRtn>* a timestamp routine, which returns a timestamp when called (locks interrupts).* .iP <wvTmrEnable>* an enable-timer routine, which enables the timestamp timer.* .iP <wvTmrDisable>* a disable-timer routine, which disables the timestamp timer.* .iP <wvTmrConnect>* a connect-to-timer routine, which connects a handler to be run when the timer* rolls over; this routine should return NULL if the system clock tick is to be* used.* .iP <wvTmrPeriod>* a period-of-timer routine, which returns the period of the timer.* .iP <wvTmrFreq>* a frequency-of-timer routine, which returns the frequency of the timer.* .LP** If any of these routines is set to NULL, the behavior of instrumented code * is undefined.** RETURNS: N/A*/void wvTmrRegister     (    UINTFUNCPTR wvTmrRtn,		/* timestamp routine */    UINTFUNCPTR wvTmrLockRtn, 		/* locked timestamp routine */    FUNCPTR wvTmrEnable, 		/* enable timer routine */    FUNCPTR wvTmrDisable,		/* disable timer routine */    FUNCPTR wvTmrConnect,		/* connect to timer routine */    UINTFUNCPTR wvTmrPeriod,		/* period of timer routine */    UINTFUNCPTR wvTmrFreq		/* frequency of timer routine */    )    {    /* initialize function pointers for windview timer */    _func_tmrStamp =     (FUNCPTR) wvTmrRtn;    _func_tmrStampLock = (FUNCPTR) wvTmrLockRtn;    _func_tmrEnable =    wvTmrEnable;    _func_tmrDisable =   wvTmrDisable;    _func_tmrConnect =   wvTmrConnect;    _func_tmrFreq =      (FUNCPTR) wvTmrFreq;    _func_tmrPeriod =    (FUNCPTR) wvTmrPeriod;#   if CPU_FAMILY==I960	wvI960TmrSelect ();#   endif    }#if CPU_FAMILY==I960/********************************************************************************* wvi960I960TmrSelect - select a timestamp frequency function (windView)** This routine is included for I960 targets only.* Some I960 timestamp drivers only have the ability to return the timestamp* operating frequency if the timestamp is enabled. Attempting to read the* timestamp frequency whilst the timestamp is disabled yields an invalid* result.** In order to determine which type the linked timestamp driver is, this routine* calls it twice, once disabled, then enabled and compared the results. If the* results are the same, the timestamp driver can be called as normal. If the * results differ, this routine links the pointer _func_tmrFreq to another* routine which will enable the timestamp before reading its frequency.** RETURNS: N/A*/LOCAL void wvI960TmrSelect (void)    {    UINT32 wvTimestampFreqDisabled;    UINT32 wvTimestampFreqEnabled;    (* _func_tmrDisable) ();    wvTimestampFreqDisabled = (* _func_tmrFreq) ();    (*_func_tmrEnable) ();    wvTimestampFreqEnabled = (* _func_tmrFreq) ();    (* _func_tmrDisable) ();    if (wvTimestampFreqDisabled != wvTimestampFreqEnabled)	{	/* save old function pointer to link to */	_func_tmrFreqRaw = _func_tmrFreq;	_func_tmrFreq = (FUNCPTR) wvI960TmrFreq;	}    }/********************************************************************************* wvI960TmrFreq - obtain timestamp frequency for i960 targets (windView)** This routine is included for I960 targets only.* It is linked to by wvI960TmrSelect for i960 targets in which the timestamp* driver is unable to return a valid timestamp frequency if the timestamp is* disabled. It will briefly enable the timestamp, collect the frequency then* disable the timestamp again.** RETURNS: an unsigned integer representing the timestamp frequency in Hz.*/LOCAL UINT32 wvI960TmrFreq (void)    {    UINT32 timestamp;    (* _func_tmrEnable) ();    timestamp = (* _func_tmrFreqRaw) ();    (* _func_tmrDisable) ();    return (timestamp);    }#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
蜜桃精品在线观看| 国产精品久久久久久一区二区三区 | 韩国精品久久久| 久久久亚洲国产美女国产盗摄 | 精品免费99久久| 国产一区二区福利| 中文字幕一区二区三| 色乱码一区二区三区88| 日日夜夜精品免费视频| 欧美一区二区三区免费在线看| 国产在线一区二区| 亚洲免费av高清| 欧美日本国产视频| 亚洲一区二区三区四区在线| 欧美一区二区三区性视频| 国产suv精品一区二区三区| 一区二区三区四区亚洲| 欧美久久久久免费| 成人免费的视频| 五月天国产精品| 99精品偷自拍| 日韩精品亚洲专区| 国产精品传媒入口麻豆| 日韩亚洲欧美综合| 91网站最新地址| 免费看日韩a级影片| 亚洲欧美日韩中文播放| 91精品一区二区三区在线观看| 国产成人欧美日韩在线电影| 日日夜夜精品免费视频| 一区二区三区精密机械公司| 久久综合狠狠综合久久激情 | 一区二区三区产品免费精品久久75| 日韩欧美一级二级三级久久久| 91激情在线视频| 97久久超碰精品国产| 日本vs亚洲vs韩国一区三区二区| 亚洲视频中文字幕| 欧美激情一区二区三区全黄| 日韩欧美国产精品一区| 欧美久久一二三四区| 欧美午夜精品一区| 在线亚洲免费视频| 国产成人综合在线| 蜜桃av一区二区三区| 日韩高清中文字幕一区| 亚洲成人第一页| 亚洲一区二区三区国产| 一区二区三区四区乱视频| 亚洲欧洲精品一区二区精品久久久| 国产99久久久久久免费看农村| 美女视频免费一区| 玖玖九九国产精品| 欧美一级国产精品| 精品国免费一区二区三区| 久久影视一区二区| 亚洲国产一区二区视频| 国产欧美精品在线观看| 亚洲欧美电影一区二区| 亚洲成人免费av| 奇米亚洲午夜久久精品| 韩国女主播一区二区三区| 不卡一二三区首页| 国产精品灌醉下药二区| 91精品国产福利| 精品成人一区二区| 国产精品白丝在线| 一区二区三区在线观看欧美| 日本中文字幕不卡| 国产精品亚洲午夜一区二区三区| 粉嫩嫩av羞羞动漫久久久| 99久久99久久精品免费观看| 欧美乱妇15p| 久久网站最新地址| 一区二区三区四区av| 欧美aaaaa成人免费观看视频| 日本在线不卡视频一二三区| 国产精品77777| 欧美日韩在线播| 91精品黄色片免费大全| **性色生活片久久毛片| 精品在线播放免费| 在线看日韩精品电影| 99久久精品免费| 亚洲国产一区二区视频| 麻豆成人av在线| 欧美日韩国产在线观看| 亚洲精品国产一区二区精华液| 国产福利91精品| 精品久久人人做人人爰| 美女视频一区在线观看| 欧美肥妇毛茸茸| 婷婷中文字幕一区三区| 欧美视频日韩视频在线观看| 亚洲嫩草精品久久| 91片在线免费观看| 亚洲人亚洲人成电影网站色| 99精品国产99久久久久久白柏| 日韩电影免费在线看| 91免费视频大全| 一区二区三区四区五区视频在线观看 | 亚洲激情成人在线| 欧美色中文字幕| 午夜av一区二区| 日韩精品一区二区三区视频播放| 日韩成人dvd| 2023国产一二三区日本精品2022| 久久精品99国产国产精| 久久久www成人免费无遮挡大片| 国产在线精品一区二区夜色| 久久精品亚洲一区二区三区浴池| 国产盗摄精品一区二区三区在线| 国产日产欧美一区二区视频| 成人精品高清在线| 亚洲制服丝袜一区| 91麻豆精品国产91久久久久 | 天堂久久久久va久久久久| 欧美日韩国产一级片| 国产做a爰片久久毛片| 国产精品麻豆网站| 在线观看免费视频综合| 日欧美一区二区| 国产日韩欧美在线一区| 一本久道中文字幕精品亚洲嫩| 日韩高清在线电影| 国产精品色一区二区三区| 欧美日韩亚洲综合| 国产成人亚洲综合a∨婷婷| 一区二区视频在线看| 日韩一区二区在线免费观看| 9久草视频在线视频精品| 麻豆专区一区二区三区四区五区| 一个色综合网站| 日韩欧美亚洲另类制服综合在线| 波多野结衣一区二区三区| 日韩精品电影在线观看| 亚洲日本在线天堂| 国产婷婷色一区二区三区四区 | 色呦呦网站一区| 国内欧美视频一区二区| 天天色综合天天| 亚洲精品福利视频网站| 中文字幕免费在线观看视频一区| 91精品国产综合久久香蕉的特点| 9人人澡人人爽人人精品| 国产精品一卡二卡在线观看| 亚洲午夜一区二区三区| 亚洲三级理论片| 欧美极品少妇xxxxⅹ高跟鞋 | 91免费视频大全| yourporn久久国产精品| 久久疯狂做爰流白浆xx| 欧美成人伊人久久综合网| 中文字幕一区二区三区色视频 | 亚洲综合精品自拍| 亚洲成人av在线电影| 日本不卡中文字幕| 亚洲一区二区在线免费观看视频 | 国产99久久久国产精品潘金网站| 九九**精品视频免费播放| 日韩av在线播放中文字幕| 亚洲国产成人91porn| 亚洲一区二三区| 亚洲第一主播视频| 精品国产91洋老外米糕| 欧美一区二区不卡视频| 日韩视频一区在线观看| 亚洲婷婷在线视频| 最新不卡av在线| 一区二区在线观看免费视频播放| 亚洲国产精品久久久男人的天堂| 午夜影院久久久| 国产在线精品视频| 91网页版在线| 欧美一二三四区在线| 国产精品入口麻豆九色| 午夜欧美视频在线观看| 国产一区二区不卡老阿姨| 色欧美片视频在线观看在线视频| 91国产视频在线观看| 91麻豆精品国产无毒不卡在线观看| 精品人在线二区三区| 亚洲精品一区二区三区精华液| 国产精品福利电影一区二区三区四区 | 久久激五月天综合精品| 丁香啪啪综合成人亚洲小说 | 午夜电影网一区| 国产精品一区二区x88av| 欧美色大人视频| 国产色综合一区| 视频一区视频二区中文| 国产高清不卡二三区| 欧美日韩午夜在线| 95精品视频在线| 日韩精品一区二区三区视频| 亚洲精品一二三四区| 国产激情一区二区三区桃花岛亚洲| 91福利国产成人精品照片| 国产精品网站在线| 久久精品国产网站|