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

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

?? wvtmrlib.c

?? vxworks的完整的源代碼
?? 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一区二区三区免费野_久草精品视频
亚洲综合小说图片| 欧美变态tickling挠脚心| 激情小说亚洲一区| 日韩一区精品视频| 日韩国产欧美三级| 青青草伊人久久| 老司机精品视频在线| 蜜桃av一区二区三区电影| 老司机午夜精品| 国产一区二区中文字幕| 国产精品一级片在线观看| 丁香六月综合激情| 色妞www精品视频| 在线看一区二区| 欧美一区二区三区婷婷月色| 欧美电影免费观看高清完整版在线| 精品国产精品一区二区夜夜嗨| 久久久精品欧美丰满| 亚洲免费毛片网站| 午夜成人免费电影| 国产成人综合在线| 91久久线看在观草草青青| 欧美欧美午夜aⅴ在线观看| 欧美r级电影在线观看| 国产精品免费网站在线观看| 尤物av一区二区| 久久精品国产第一区二区三区| 国产福利精品导航| 精品视频1区2区3区| 久久久99久久| 亚洲午夜免费视频| 国产精品1区2区3区| 欧美在线观看视频一区二区三区| 日韩视频一区二区三区| 国产精品久久久久久久久搜平片| 亚洲一区欧美一区| 国产精品中文欧美| 欧美电影影音先锋| 中文字幕永久在线不卡| 午夜激情久久久| 99久久久国产精品| 久久噜噜亚洲综合| 天堂成人国产精品一区| 成人av资源站| 精品久久久久久综合日本欧美| 亚洲欧美日韩国产成人精品影院 | 蜜桃av噜噜一区二区三区小说| 国产精品 日产精品 欧美精品| 欧美裸体bbwbbwbbw| 国产精品麻豆欧美日韩ww| 久久精品国产亚洲高清剧情介绍 | 麻豆国产欧美一区二区三区| 91麻豆精品秘密| 国产日韩欧美a| 免费人成精品欧美精品| 欧美四级电影在线观看| 国产精品国产自产拍高清av王其| 奇米四色…亚洲| 欧美高清你懂得| 亚洲第一主播视频| 色噜噜狠狠色综合中国| 中文字幕中文字幕一区二区| 国产专区综合网| 精品久久一区二区三区| 免费成人结看片| 欧美日韩高清在线| 亚洲成人先锋电影| 欧美日韩国产成人在线91| 亚洲一区二区精品视频| 暴力调教一区二区三区| 国产精品国产精品国产专区不片| 国内精品嫩模私拍在线| 精品国产一区二区精华| 激情亚洲综合在线| 国产日韩在线不卡| 成人激情小说网站| 亚洲精品国产a| 欧美三区在线视频| 丝袜脚交一区二区| 91精品久久久久久久99蜜桃 | 亚洲综合999| 日本韩国视频一区二区| 亚洲猫色日本管| 欧美亚洲国产一区在线观看网站 | 亚洲丝袜制服诱惑| 色综合久久久久久久久| 一区二区在线观看不卡| 欧美日韩国产一区二区三区地区| 亚洲成av人**亚洲成av**| 欧美日产在线观看| 久久99国产精品久久99| 国产欧美日韩在线视频| 99精品久久99久久久久| 亚洲r级在线视频| 日韩欧美在线综合网| 国产原创一区二区三区| 国产精品女主播av| 欧美三级三级三级爽爽爽| 蜜臀av一级做a爰片久久| 久久久精品黄色| 色香蕉成人二区免费| 日韩国产在线一| 国产欧美日韩三区| 欧美在线999| 九九国产精品视频| 亚洲精品日产精品乱码不卡| 欧美狂野另类xxxxoooo| 国产精品白丝jk黑袜喷水| 亚洲伊人色欲综合网| 精品国产免费久久| 色综合天天综合狠狠| 美女精品一区二区| 一区二区三区四区精品在线视频| 日韩欧美aaaaaa| 99久久国产综合精品麻豆| 免费一级欧美片在线观看| 综合av第一页| 欧美变态tickling挠脚心| 欧美亚洲日本国产| 国产91露脸合集magnet| 五月天激情综合| 亚洲欧美色图小说| 欧美国产亚洲另类动漫| 日韩午夜三级在线| 欧美丝袜丝nylons| av一本久道久久综合久久鬼色| 美女被吸乳得到大胸91| 亚洲午夜久久久久久久久电影网| 中文字幕欧美日韩一区| 日韩精品在线一区| 欧美精品少妇一区二区三区| 成人高清在线视频| 国产一区二区三区电影在线观看 | 国产精品自在在线| 日韩成人精品在线| 亚洲午夜免费电影| 亚洲综合视频在线观看| 国产精品不卡在线| 国产精品福利一区二区| 久久久久久99久久久精品网站| 欧美一卡在线观看| 欧美日韩一区二区在线观看| 91蜜桃在线观看| 99国内精品久久| 色欲综合视频天天天| 色哟哟欧美精品| 色老汉一区二区三区| 91亚洲精品乱码久久久久久蜜桃| 国产一区二区三区四区五区美女| 麻豆freexxxx性91精品| 麻豆精品视频在线观看免费| 日韩精品成人一区二区三区| 亚州成人在线电影| 日韩电影网1区2区| 蜜桃精品视频在线| 韩国v欧美v亚洲v日本v| 国产精品99久久久久久似苏梦涵| 国产精品资源网站| 99精品国产91久久久久久| 色综合久久中文字幕| 色婷婷综合激情| 欧美日韩大陆一区二区| 日韩一区二区免费视频| 日韩精品综合一本久道在线视频| 精品少妇一区二区三区日产乱码 | 久久久99精品免费观看| 国产欧美精品区一区二区三区| 中文字幕的久久| 亚洲特级片在线| 天天av天天翘天天综合网| 日本美女一区二区三区| 国产成人无遮挡在线视频| av在线这里只有精品| 欧美亚一区二区| 欧美一三区三区四区免费在线看 | 久久综合狠狠综合| 国产精品视频一二| 亚洲va韩国va欧美va精品| 国产自产2019最新不卡| 99re66热这里只有精品3直播 | 亚洲欧洲中文日韩久久av乱码| 亚洲一区二区视频在线观看| 免费视频一区二区| 91在线观看视频| 欧美v国产在线一区二区三区| 中文字幕在线观看一区| 水野朝阳av一区二区三区| 国产91综合网| 91精品麻豆日日躁夜夜躁| 国产精品福利一区二区| 日本不卡的三区四区五区| 成人爱爱电影网址| 欧美一级二级三级乱码| 亚洲女同ⅹxx女同tv| 久久99热这里只有精品| 欧美自拍偷拍午夜视频| 久久久久久**毛片大全| 肉肉av福利一精品导航| 色综合久久综合网欧美综合网| 精品成人a区在线观看|