基于APIC的高精度定时器设计  

Design of High Precision Timer Based on Advanced Programmable Interrupt Controller

在线阅读下载全文

作  者:杨皓[1] 江南[2] 杜承烈[1] 

机构地区:[1]西北工业大学计算机学院,西安710129 [2]中国船舶重工集团公司750试验场,昆明650051

出  处:《计算机工程》2014年第9期317-320,F0003,共5页Computer Engineering

基  金:国家部委基金资助项目

摘  要:在操作系统开发过程中需要一定精度的计时器支持。在Windows实时扩展改造过程中,针对原有定时精度低和波动较大的问题,提出一种基于高级可编程中断控制器(APIC)的高精度定时器设计方案。利用CPU片上结构APIC的计数寄存器编程,构建高精度时钟。运用内核驱动建立内核调度管理,通过内存映射提高用户态到内核态的数据传输速度,保证实时性能。利用DLL提供一组和内核交互的定时器接口供用户使用。实验结果表明,该方案有效解决了定时精度和稳定性问题,构造的定时器性能稳定,具有良好的实用性。Timer with a certain precision is often required in the process of developing the system. In the Windows real time extending process,aiming at the problem of insufficient original timing accuracy and the fluctuation problem,this paper presents a high precision timer based on local Advanced Programmable Interrupt Controller(APIC). Making use of the counting register programs CPU sheet structure of APIC,it constructs high precision clock effectively,and uses the kernel driver construction scheduling management,memory mapping to improve data transmission speed of user state to guarantee real-time kernel to provide real-time. DLL provides a set of interface for users. Experimental results show that the scheme can effectively solve the problem of timing precision,and it has good usability.

关 键 词:高级可编程中断控制器 定时器 高精度 稳定性 内存映射 实时性 

分 类 号:TP391[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象