计算机工程 ›› 2009, Vol. 35 ›› Issue (1): 213-215.doi: 10.3969/j.issn.1000-3428.2009.01.073

• 工程应用技术与实现 • 上一篇    下一篇

μC/OS在龙芯处理器上的移植及性能分析

程晓宇1,毕笃彦1,蔡 晔2   

  1. (1. 空军工程大学工程学院信号与信息处理实验室,西安 710038;2. 中国科学院计算技术研究所微处理器中心,北京 100080)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-01-05 发布日期:2009-01-05

Transplantation of μC/OS on Loongson Processor and Its Performance Analysis

CHENG Xiao-yu1, BI Du-yan1, CAI Ye2   

  1. (1. Signal and Information Processing Lab, Engineering Institute, Air Force Engineering University, Xi’an 710038; 2. Microprocessor Research Center, Institute of Computing Technology, Chinese Academy of Sciences, Beijing 100080)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-01-05 Published:2009-01-05

摘要: 在以国产CPU龙芯2E为核心的PC104 Plus处理器模块上移植嵌入式实时操作系统μC/OS-II,对其实时性能进行评价。阐述处理器相关函数的编写及与PMON的整合等关键技术,讨论系统实时性能评价的一般方法,包括Rhealstone方法、进程分派延迟时间法和三维表示法等。在此基础上选择Rhealstone方法中的2个指标对整个系统的实时性能进行分析。实验结果表明,系统的实时性能可满足一般实时系统的需求。

关键词: 实时操作系统, μC/OS-II系统, 龙芯

Abstract: The real-time operation system μC/OS-II is transplanted to Loongson 2E PC104 Plus CPU module. The process is described and three methods for real-time performance evaluation are discussed. Rhealstone benchmark method is chosen to measure and analyze real-time performance of the system. Experimental results show that μC/OS-II in Loongson 2E PC104 Plus CPU module can meet the requirement of general real-time applications.

Key words: real-time operation system, μC/OS-II system, Loongson

中图分类号: