分析了影响测试软件运行时间的主要因素,提出了测试任务句柄动态管理的方法,其核心思想是动态创建程序中用到的所有任务句柄,利用链表的数据结构将其管理起来,便于后面查询与使用,尽量减少频繁的任务句柄相关操作对测试软件运行时间的影响。该方法改善了测试软件的总体设计,实现了测试软件的时间优化。这样不需要额外硬件设计即可满足绝大多数实时性测试的要求。
Abstract
The major factors affecting the running time of test software were analyzed. A dynamic management method of task handle was proposed ? The method is to create all task handles dynamically and to manage them using the data structure of chain to facilitate later inquiry and utilization and to minimize the effect of frequent creation of task handles on the running time of test software greatly. This method can improve the overall design of test software, and optimize the running time of test soft?ware so that the requirements of most real time tests can be met without additional hardware design.
关键词
计算机软件 /
测试任务句柄 /
动态管理 /
时间优化
{{custom_keyword}} /
Key words
computer software /
test task handle /
dynamic management /
time optimization
{{custom_keyword}} /
{{custom_sec.title}}
{{custom_sec.title}}
{{custom_sec.content}}
参考文献
[I] Alex B McCartny. A software technique tor optimizing measure-ment time and repeatability on instrument control buses [C] //
IEEE AUTOTESTCON, 2005 Proceedings. US, Orlando: IEEE, 2005: 374-379.
[2] 王健,李智,耿建平.虚拟仪器系统中的IVI技术[J].电测与 仪表,1999,36(12) :33-36.
WANG Jian, LI Zhi, GENG Jian-ping. IVI technology in the virtual instrument systems[J]. Electrical Measurement & Instru- mentation, 1999,36( 12):33 — 36? (in Chinese)
[3] 罗锦.ATS软件平台关键技术研究[D].石家庄:军械工程学 院,2006:20-30.
LUO Jin. roundational research on ATS software platform devel?opment [D] .Snijiazhuang : Ordnance Engineering College, 2006: 20 — 30. (in Chinese)
{{custom_fnGroup.title_cn}}
脚注
{{custom_fn.content}}