作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

›› 2003, Vol. 29 ›› Issue (06): 79-81.

• 论文 • 上一篇    下一篇

嵌入式实时操作系统中对时钟中断服务程序的改进

屠征,谢康林   

  1. 上海交通大学计算机科学与工程系,上海交通大学计算机科学与工程系 上海 200030
  • 发布日期:2003-03-25

Improvement of Timer Interrupt Service Routine in RTOS

TU Zheng,XIE Kanglin   

  1. (Dept. of Computer Science and Engineering, Shanghai Jiaotong Univ., Shanghai 200030)
  • Published:2003-03-25

摘要: 在一般的嵌入式实时操作系统中,时钟中断服务程序在每个时钟节拍工作。在实际应用中,并不是每个时钟节拍都有任务调度,所以有很多时钟中断服务程序的工作是多余的,浪费了CPU资源。为了提高性能,文章提出了一种方法来改变这种情况。

关键词: 单调执行率调度, 占先式内核, 时钟节拍

Abstract: In most RTOS, the timer interrupt service routine(ISR) executes at every time tick. In most practical application, context switch doesn't happen at some time tick , so sometime the execution of timer ISR is useless and wastes CPU time. In this paper, a new method is proposed to prevent useless execution of the timer ISR.

中图分类号: