Author Login Editor-in-Chief Peer Review Editor Work Office Work

Computer Engineering ›› 2006, Vol. 32 ›› Issue (23): 70-72,9. doi: 10.3969/j.issn.1000-3428.2006.23.025

• Software Technology and Database • Previous Articles     Next Articles

Method of Timer Resolution Improvement for

WANG Xia1, MA Zhongmei1, HE Xiaoqing2, JIANG Wenrui2, HUANG Wuling3   

  1. (1. School of Information, Beijing Institute of Technology, Beijing 100081; 2. Beijing Microtech Software Technology Ltd., Beijing 100094;
    3. Institute of Automation, Chinese Academy of Sciences, Beijing 100080)
  • Received:1900-01-01 Revised:1900-01-01 Online:2006-12-05 Published:2006-12-05

提高嵌入式Linux时钟精度的方法

王 霞1,马忠梅1,何小庆2,江文瑞2,黄武陵3   

  1. (1. 北京理工大学信息学院,北京 100081;2. 北京麦克泰软件技术有限公司,北京 100094;3. 中国科学院自动化研究所,北京 100080)

Abstract: Linux with real-time constraints are growing in the field of embedded system. In order to break through obstacle in real-time applications aspects, it is sensible to add preempt feature in Linux kernel, improve timer resolution and modify schedule strategy to satisfy real-time requirments. The thesis summarizes several modification methods of improving timer resolution and focuses on popular method named HRT, which applies comprehensively in embedded Linux system.

Key words: Embedded Linux, Timer resolution, HRT, Real-time system, ARM

摘要: 突破Linux内核在实时应用方面的缺陷主要体现在增加Linux内核的可抢占性、细化时钟粒度和调度算法上。该文从时钟精度的角度出发,介绍了目前流行的嵌入式操作系统在实时性方面的改进方法,分析了MontaVista Linux采用的高精度定时器HRT机制的原理、HRT对Linux内核的改造方法及其在ARM平台上的实现方法等。

关键词: 嵌入式Linux, 时钟精度, 高精度定时器, 实时系统, ARM