首页 | 本学科首页   官方微博 | 高级检索  
     

Linux系统中实时仿真程序时间精确性分析
引用本文:姜忠钦,姚新宇,吴重祥. Linux系统中实时仿真程序时间精确性分析[J]. 计算机仿真, 2006, 23(10): 76-79,99
作者姓名:姜忠钦  姚新宇  吴重祥
作者单位:国防科技大学机电工程与自动化学院,湖南,长沙,410073;92267部队,山东,青岛,266103;国防科技大学机电工程与自动化学院,湖南,长沙,410073;92267部队,山东,青岛,266103
摘    要:随着Linux操作系统内核的不断改进和升级,其实时性能逐渐能够满足大部分控制系统的需求;同时Linux操作系统免费开放了其内核源代码,因此可以通过对其内核源代码的分析来更加深入、精确掌握Linux定时测量机制。该文详尽介绍了与Linux定时测量相关的各种内核机制,并以具体的仿真程序为例,针对不同的运行环境(是否有网络数据传输,实时仿真程序设置为定时器方式还是单进程方式),逐步分析Linux系统下实现的实时仿真的方法、Linux内核执行仿真进程的步骤以及定时测量的精确性,为Linux系统平台上的实时仿真应用提供精确的参考指标和最优实现方案。

关 键 词:定时测量  时钟中断  软中断
文章编号:1006-9348(2006)10-0076-04
收稿时间:2005-08-26
修稿时间:2005-08-26

Time Accuracy Analysis of Real-time Simulation Program in Linux OS
JIANG Zhong-qin,YAO Xin-yu,WU Chong-xiang. Time Accuracy Analysis of Real-time Simulation Program in Linux OS[J]. Computer Simulation, 2006, 23(10): 76-79,99
Authors:JIANG Zhong-qin  YAO Xin-yu  WU Chong-xiang
Affiliation:1. School of Mechatronics Engineering and Automation, National University of Defence Technology, Changsha Hunan 410075,China; 2. Unit 92267, Qingdao Shandong 266105,China
Abstract:Along with the continual improvement and update of Linux OS Kernel, its real - time capability can meet the requirement of most control systems gradually. And the Linux Kernel Codes are open to everyone, so through studying them we can analyze Linux Timing - measurement accurately. The paper first introduces all kernel subsystems relating to Timing - measurement in detail. Then by designing simulation programs for different running conditions (whether the system having network data transmission, and the real - time simulation program running in Timer mode or Single - process mode) , the article analyses the way to realize real - time simulation, the steps by which Linux Kernel performs the simulation process, and the accuracy of Timing -measurement in Linux OS. The work mentioned above can provide the applications of Real - time Simulation in Linux OS with accurate parameters and the optimal plan.
Keywords:Timing measurement   Timer interrupt    Softirq
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号