机构地区: 西安电子科技大学电子工程学院
出 处: 《信号处理》 2009年第3期439-443,共5页
摘 要: 本文提出了一种高性能Linux定时器ETimer(Enhanced Timer)的实现方法。通过对标准Linux内核的时钟中断处理程序进行修改,ETimer具有比标准Linux内核定时器更细的定时粒度和更高的中断优先级,因此可实现更精确的定时并避免硬件IO中断的影响。本方法增强了嵌入式Linux系统的定时性能,并且不需改动Linux系统的其它组成部分如进程调度、文件系统、网络系统和驱动程序,适用于有较高定时性能要求的嵌入式应用场合。在ADSP-BF533处理器系统平台上的实验结果表明本方法可以显著地改进定时器性能。 This paper proposes an implementation of high performance Linux timer, which called ETimer (Enhanced Timer). Through modification of the timer interrupt handler in standard Linux kernel, ETimer increases the resolution of time to improve the accuracy of timer and uses higher interrupt priority to avoid the influence of hardware IO interrupts. This method strengthens the performance of timer in embedded Linux system, which does not modify the other Linux subsystems like process scheduling, file system, network system and drivers, so it is suitable in embedded real-time applications. This method has been implemented on ADSP-BF533 platform and the results show that it can improve the performance of timing efficiently.
领 域: [自动化与计算机技术] [自动化与计算机技术]