摘要: 实时系统中定时器的精度直接影响到任务的及时响应和正确执行。普通嵌入式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
中图分类号:
王文竹, 郭华, 吴庆波. 基于PowerPC的高精度定时器设计与实现[J]. 计算机工程, 2010, 36(16): 267-269.
WANG Wen-Zhu, GUO Hua, TUN Qiang-Bei. Design and Implementation of High Resolution Timers Based on PowerPC[J]. Computer Engineering, 2010, 36(16): 267-269.