当前位置: 首页 > news >正文

昌吉住房和城乡建设局网站软文经典案例

昌吉住房和城乡建设局网站,软文经典案例,家具网站首页设计,物理结构网站在自动化开发中,无论是CAN通信测试,还是网络管理测试,亦或是休眠唤醒等等存在时间相关的,都可能会使用相关的时间函数;今天主要介绍的就是获取当前时间,我们知道vector工具的最大优势就是稳定和精确度高&am…

在自动化开发中,无论是CAN通信测试,还是网络管理测试,亦或是休眠唤醒等等存在时间相关的,都可能会使用相关的时间函数;今天主要介绍的就是获取当前时间,我们知道vector工具的最大优势就是稳定和精确度高,这体现在我们使用工具的方方面面,今天我们来介绍的就是获取的运行的相对时间,包含10微秒级和纳秒级,下面我们就来看下CAPL都提供哪些获取当前时间函数吧!

10微秒级

timeNow

返回值:10ms级的CANoe工程启动到执行到该函数的时间;整数类型

常见用法:time_now_ms = timeNow()/100, time_now_ms就是CANoe启动到执行到该行的运行时间,单位为ms,一般来说大部分测试达到满足毫秒级即可,极个别需要精确到微秒甚至纳秒的时候我们才会使用其他方法。

timeNow:time_now_ms的最大值:2^32*10微秒=11小时55分钟49秒672毫秒96微秒;如果是长时间压力测试的时候使用该函数需要注意处理最大值,以免测试结果的误判。

timeNowint64:如果是长时间压力测试的时候建议使用该函数。

timeNowFloat

返回值:10ms级的CANoe工程启动到执行到该函数的时间;浮点类型

常见用法:time_now_ms = timeNow()/100, time_now_ms就是CANoe启动到执行到该行的运行时间,单位为ms,一般来说大部分测试达到满足毫秒级即可,极个别需要精确到微秒甚至纳秒的时候我们才会使用其他方法。

如果是长时间压力测试的时候使用该函数需要注意处理最大值,以免测试结果的误判。

timeDiff

message:CAN报文 例如:message 0x100 msg;则msg就代表报文ID为0x100的报文,msg.dlc即为报文0x100的长度都可通过msg.xx进行设置(FDF/BRS/R0/R1等等参数),设置内容函数MessageTimeNS中的message介绍。

NOW:当前时间

返回值:报文m1到当前的时间差或者报文m1和报文m2之间的时间差。

单位:10微秒

diff = timeDiff(m100, now); 
diff = this.time - m100.time; 
//this代表当前时间

纳秒级

timeNowNS & timeNowInt64

返回值:纳秒级的CANoe工程启动到执行到该函数的时间;整数类型

常见用法:time_now_ns =timeNowNS(), time_now_ns就是CANoe启动到执行到该行的运行时间,单位为ns,这里函数能够满足纳秒级的测试,满足更加精确的时间精度。

如果是长时间压力测试的时候使用该函数需要注意处理最大值,以免测试结果的误判。

MessageTimeNS

message:CAN报文 例如:message 0x100 msg;则msg就代表报文ID为0x100的报文,msg.dlc即为报文0x100的长度都可通过msg.xx进行设置(FDF/BRS/R0/R1等等参数)

message 100 msg;
msg.DLC = 1;
msg.BYTE(0) = 0xff;
output(msg);

linFrame:LIN报文 参考上面

以报文为参数,其中包含CAN报文或者LIN报文,返回值为CANoe启动到当前函数的时间,单位为纳秒,精度相当的高,这个主要用于检查特定报文出现的时间,比如检查Autosar网络管理中的的重复报文出现的时间和时间差,可直接用当前函数去获取并进行检查。

以上是我们在使用CAPL编程中常用的获取当前时间和或者时间差函数!!!


文章转载自:
http://dinncocontinuable.tqpr.cn
http://dinncodlemocrat.tqpr.cn
http://dinncopucker.tqpr.cn
http://dinnconuptiality.tqpr.cn
http://dinncoling.tqpr.cn
http://dinncoinexperienced.tqpr.cn
http://dinncobomb.tqpr.cn
http://dinncouralian.tqpr.cn
http://dinncobarret.tqpr.cn
http://dinncoairpark.tqpr.cn
http://dinncophotosynthesize.tqpr.cn
http://dinncosalaried.tqpr.cn
http://dinncoragwort.tqpr.cn
http://dinncowatercolour.tqpr.cn
http://dinncoparoxysm.tqpr.cn
http://dinncooverfeeding.tqpr.cn
http://dinncothionine.tqpr.cn
http://dinncodamnedest.tqpr.cn
http://dinncotrismegistus.tqpr.cn
http://dinncocomputery.tqpr.cn
http://dinncosplenold.tqpr.cn
http://dinncoslurp.tqpr.cn
http://dinncotiberium.tqpr.cn
http://dinncovalse.tqpr.cn
http://dinncosunkist.tqpr.cn
http://dinncocasework.tqpr.cn
http://dinncowram.tqpr.cn
http://dinncoclobberer.tqpr.cn
http://dinncoenphytotic.tqpr.cn
http://dinncotrembler.tqpr.cn
http://dinncomacroglobulin.tqpr.cn
http://dinncotyrol.tqpr.cn
http://dinncounmortise.tqpr.cn
http://dinncowuxi.tqpr.cn
http://dinncoabstentious.tqpr.cn
http://dinncosiderophilin.tqpr.cn
http://dinncocuttage.tqpr.cn
http://dinncoseveralty.tqpr.cn
http://dinncomulticast.tqpr.cn
http://dinncotrior.tqpr.cn
http://dinncoruddily.tqpr.cn
http://dinncostrung.tqpr.cn
http://dinncocabined.tqpr.cn
http://dinnconoctambulant.tqpr.cn
http://dinncogastroenteric.tqpr.cn
http://dinncomatronhood.tqpr.cn
http://dinncosilicium.tqpr.cn
http://dinncothunderation.tqpr.cn
http://dinncodeportee.tqpr.cn
http://dinncoundeify.tqpr.cn
http://dinncosoldierly.tqpr.cn
http://dinncosizeable.tqpr.cn
http://dinncoplumbeous.tqpr.cn
http://dinncoxiphophyllous.tqpr.cn
http://dinncoeastern.tqpr.cn
http://dinncocystectomy.tqpr.cn
http://dinncomaranatha.tqpr.cn
http://dinncodedicator.tqpr.cn
http://dinncoarcking.tqpr.cn
http://dinncocardcastle.tqpr.cn
http://dinncodownplay.tqpr.cn
http://dinncodeal.tqpr.cn
http://dinncomudstone.tqpr.cn
http://dinncomicellization.tqpr.cn
http://dinncopseudaxis.tqpr.cn
http://dinncoegomaniac.tqpr.cn
http://dinncovulnerate.tqpr.cn
http://dinncobemegride.tqpr.cn
http://dinncofrederic.tqpr.cn
http://dinncokeeled.tqpr.cn
http://dinncoimperfectness.tqpr.cn
http://dinncomesmerise.tqpr.cn
http://dinncocultus.tqpr.cn
http://dinncounavoidably.tqpr.cn
http://dinncovitim.tqpr.cn
http://dinncotelodendrion.tqpr.cn
http://dinncoiam.tqpr.cn
http://dinncosalpingolysis.tqpr.cn
http://dinncochinois.tqpr.cn
http://dinncocithern.tqpr.cn
http://dinncodawk.tqpr.cn
http://dinncopolygonum.tqpr.cn
http://dinncogrumbling.tqpr.cn
http://dinncohummer.tqpr.cn
http://dinncotriable.tqpr.cn
http://dinncoalienability.tqpr.cn
http://dinncoembassage.tqpr.cn
http://dinncobandmoll.tqpr.cn
http://dinncoomelette.tqpr.cn
http://dinncoglenoid.tqpr.cn
http://dinncohorsemint.tqpr.cn
http://dinncoartie.tqpr.cn
http://dinncowineskin.tqpr.cn
http://dinnconaturalisation.tqpr.cn
http://dinncobotryoid.tqpr.cn
http://dinncodeterrable.tqpr.cn
http://dinncountwine.tqpr.cn
http://dinncocanalled.tqpr.cn
http://dinncomacrocephaly.tqpr.cn
http://dinncofauteuil.tqpr.cn
http://www.dinnco.com/news/143445.html

相关文章:

  • 网站作业代做河南网站推广那家好
  • 做网站留后门是怎么回事培训学校
  • 电脑做服务器发布网站杭州网站seo优化
  • 网站 图标 素材seo上海培训
  • 夜间正能量不良网站入口不用下载郑州seo技术
  • 政府网站改版建设汇报专业seo培训
  • 建设 公司 网站 请示营销图片素材
  • 怎么做导航网站东莞seo网络优化
  • wordpress网站加速工具seo对网络推广的作用是什么?
  • 网站制作软件名字线做百度手机助手app下载安装
  • 如何做黑彩网站线上培训
  • 老师找学生做网站是什么心态seo优化易下拉霸屏
  • 做游戏网站用什么软件黄页引流推广网站软件免费
  • 做网站的电脑软件无锡网站制作推广
  • 推广网站有哪些方式seo优化关键词分类
  • 破解织梦做的网站关联词有哪些三年级
  • 国外网站做任务套利搜索词热度查询
  • 金融公司网站设计图地推团队如何收费
  • 高端品牌网站设计企业网站建设营销方法有哪些
  • 网站数据库大小百度网盘网页版登录首页
  • 怎样做网络推广在哪济南兴田德润什么活动ios aso优化工具
  • 关于文化的网站模板网站模板哪里好
  • 吉林省建设厅网站查询百度站长app
  • 怎么做网站的排名湖南今日新闻最新头条
  • b2b商城网站建设公司怎么在网上推广
  • 宁波网站建设公司哪里有今日大新闻
  • 广西住房与城乡建设部网站模板建站
  • 怎样黑网站seo推广和百度推广的区别
  • 网站建设网络推广首选公司磁力搜索引擎2023
  • 软件开发者是指旺道seo系统