在实时系统中计算任务请求的响应时间具有重要意义,针对抢占阈值调度,给出了一个计算任务请求响应时间的公式。试验结果表明所给公式与采用模拟运行的方法相比具有计算量小、运行时间短的优点。
It is significant to compute the response time for the requests of the periodic tasks in a real-time system. This paper is focused on the preemptive threshold scheduling and presents a formula to compute the response time for a request. The experiment results show that the computation cost of the method presented in the paper is much lower than that of the common simulated method.