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

计算机工程 ›› 2006, Vol. 32 ›› Issue (14): 63-65. doi: 10.3969/j.issn.1000-3428.2006.14.023

• 软件技术与数据库 • 上一篇    下一篇

一种时钟改进算法的分析与实现

刘智臣1;孟益民2;余俊杰3   

  1. 1. 湖南大学软件学院,长沙 410082;2. 湖南大学数学与计量经济学院,长沙 410082;3. 湖南师范大学工学院,长沙 410012
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2006-07-20 发布日期:2006-07-20

Analysis and Implementation of an Improving Algorithm for Timer

LIU Zhichen1; MENG Yimin2; YU Junjie3   

  1. 1. Software College, Hunan University, Changsha 410082; 2. Mathematics and Econometrics College, Hunan University, Changsha 410082; 3. Engineering College, Hunan Normal University, Changsha 410012
  • Received:1900-01-01 Revised:1900-01-01 Online:2006-07-20 Published:2006-07-20

摘要: 针对µC/OS-II实时操作系统中周期性时钟节拍服务出现的一些问题,该文探讨了一种时钟改进算法,并在µC/OS-II中进行了实现。采用这种改进算法后,可以提高内核在µs级上的执行能力。扩大了µC/OS-II的应用范围。

关键词: 时钟节拍, 时钟频率, 周期性定时中断, µ, C/OS-II, ISR

Abstract: Some problems are caused by the periodic timer interrupt in µC/OS-II, so the improving algorithm for the timer is proposed and implemented to solve the problems. If the improving algorithm is implemented in µC/OS-II, the performance of the kernel will be enhanced. And the application range of µC/OS-II is expanded.

Key words: Time tick, Timer frequency, Periodic timer interrupt, µ, C/OS-II, ISR

中图分类号: