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

计算机工程 ›› 2010, Vol. 36 ›› Issue (16): 267-269. doi: 10.3969/j.issn.1000-3428.2010.16.095

• 开发研究与设计技术 • 上一篇    下一篇

基于PowerPC的高精度定时器设计与实现

王文竹,郭 华,吴庆波   

  1. (国防科学技术大学计算机学院,长沙 410073)
  • 出版日期:2010-08-20 发布日期:2010-08-17
  • 作者简介:王文竹(1984-),男,硕士,主研方向:嵌入式实时系统;郭 华,博士研究生;吴庆波,研究员
  • 基金资助:
    国家“863”计划基金资助项目(2009AA01Z101)

Design and Implementation of High Resolution Timers Based on PowerPC

WANG Wen-zhu, GUO Hua, WU Qing-bo   

  1. (School of Computer, National University of Defense Technology, Changsha 410073)
  • Online:2010-08-20 Published:2010-08-17

摘要: 实时系统中定时器的精度直接影响到任务的及时响应和正确执行。普通嵌入式Linux的定时精度较低,无法满足实时需求。通过对高精度定时器的研究,针对PowerPC平台硬件特点实现一种高精度定时器,同时提出基于PowerPC平台的高精度定时器框架,易于进行移植。测试结果表明,改进后的定时器定时精度和延迟时间都达到微秒级,为系统中实时任务的正确执行提供了必要条件。

关键词: 嵌入式Linux, 实时, PowerPC平台, 高精度定时器

Abstract: The quick response and correct execution of task is decided by the precision of timer in real-time system. In the common embedded Linux, the timer’s precision is low, and can not fit the requirement of real-time system. By researching the high resolution timers, a resolution based on PowerPC platform is implemented. A framework of high resolution timers based on PowerPC is designed, which is easy to transplant. Experimental results show that the improvement makes the precision and delay of timer in micro-second, which provides the necessary condition for the real-time task in this system.

Key words: embedded Linux, real time, PowerPC platform, high resolution timers

中图分类号: