摘要
在实时操作系统中,无论是实时响应并处理来自各个被控对象的实时信息,还是对任务执行时间的管理、资源的限时等待等,都需要时钟的参与。因此,准确而又具有足够精度的时钟对于实时系统是必不可少的。根据普通嵌入式系统内核中的时钟机制的特点,分析了实时操作系统中的有关时钟机制改进的具体方法与特点,并提出了三种多粒度时钟机制:UTIME机制、RFRTOS TIMER机制、RTOS KERNEL TIMER机制,并且分析了与时钟机制密切相关的中断服务程序。
In real-time operating system, the real-timely responding to and processing every real-time massage from the controlled objects or managing the task's excuting time as well as the limited waiting of resource, timer is necessarily to join. Therefore, correct and very accurate timer is requisite. According to the features of timer mechanism of common em- bedded system kernel, this essay analyzes concrete manners and features concerning reforming the timer mechanism. It proposes three multi-granular timer machanism: UTIME machanism, RFRTOS TIMER machanism, RTOS KERNEL TIM- ER machanism. Furthermore, it analyzes the interruption service program largely related to timer machanism.
出处
《计算机与数字工程》
2009年第1期69-70,114,共3页
Computer & Digital Engineering
作者简介
田小华,副教授,研究方向:嵌入式操作系统、计算机体系结构。
陆少华,硕士研究生,研究方向:嵌入式系统,体系结构。