【24h】

A New Implementation Method of Timer for Periodic Tasks

机译:一种定时任务定时器的新实现方法

获取原文

摘要

In real-time systems, an efficient and stable implementation of timer is crucial to the timing requirements of tasks. The traditional methods take O(n2) time overhead to maintain timers in the periodic task model. In this paper, we present a new implementation method that takes O(n) time overhead. This method calculates all trigger instants of periodic tasks within a hyperperiod off-line, and assigns these instants to corresponding periodic timers. The timer system checks whether a trigger instant arrives in the timer Interrupt Service Routine (ISR), and activates tasks periodically without any additional overhead, such as deletion and insertion for new timeouts. Experiments show that the method presented in this paper can improve the execution speed of timers with low overhead in space and increase stability in execution time.
机译:在实时系统中,计时器的高效稳定实现对于任务的计时要求至关重要。传统方法需要O(n2)时间开销来维护定期任务模型中的计时器。在本文中,我们提出了一种新的实现方法,该方法花费O(n)的时间开销。此方法计算超周期离线内周期性任务的所有触发瞬间,并将这些瞬间分配给相应的周期性计时器。计时器系统检查触发时刻是否到达计时器中断服务程序(ISR)中,并定期激活任务,而没有任何额外的开销,例如删除和插入新超时。实验表明,本文提出的方法可以提高定时器的执行速度,减少空间开销,提高执行时间的稳定性。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号