摘要
在实时系统中,为满足任务时限要求,测试单个任务运行时间是必不可少的。本文首先讲述两种测试任务运行时间的方法,接着比较和分析这两种方法的优缺点以及测试时应当注意的问题,然后讨论影响任务运行时间的因素,并给出一个如何有效测试任务运行时间的设计方案。
In real-time system, to ensure the deadline of the task is met, it is absolutely necessary to measure the execution time of an individual task. This paper firstly describes two approaches to measure the execution of the task, and then compares and analyses their merits and demerits. What is more, some problems should be paid attention to under test. At last, the factors which impact the task's execution are discussed and a design proposal is presented which shows how to effectively test the execution of the task.
出处
《现代计算机》
2005年第9期13-16,共4页
Modern Computer
基金
广东省自然科学基金资助项目(项目编号:032497)