摘要
调度是操作系统的核心,调度策略的优劣直接影响到操作系统工作性能。基于OSEK的操作系统对实时性要求非常严格,通过分析OSEK抢占式调度策略和任务的属性,提出一种任务和函数之间的转换策略,使任务执行在一定条件下可以转换为函数调用,减少任务执行过程中的切换时间,从而提高任务响应速度和操作系统实时性。通过实验验证,该改进策略是有效的。
Scheduling strategy is kernel of one operating system,and directly impacts the performance of operating system. OSEK-based operating system is strict with the real-time performance.Through analyzing the preemptive scheduling strategy and task's attribute of OSEK OS criterion,this paper presents a conversion strategy from task to function,which makes task execution like a function call,to reduce the task swapping time of the process of task execution,and to improve the task response performance and operating system real-time performance.The strategy's validation is verified by experiments.
出处
《计算机工程与应用》
CSCD
北大核心
2010年第34期228-231,共4页
Computer Engineering and Applications
基金
重庆市教委科学技术研究项目(No.KJ090526)
关键词
OSEK操作系统
抢占式调度
任务
函数转换策略
OSEK operating system
preemptive scheduling
task-function conversion strategy