Real time task model performance analysis——interrupt performance research

Page 1

Transactions on Computer Science and Technology June 2014, Volume 3, Issue 2, PP.55-64

Real-time Task Model Performance Analysis ——Interrupt Performance Research Xinyuan Niu1, 2 Beijing Key Laboratory of Internet Culture and Digital Dissemination Research, Beijing Information Science & Technology University, Beijing 100101, China #

Email: niuxinyuan@bistu.edu.cn

Abstract This paper provides the study ideas and methods of task model performance. Based on Interrupt technique of embedded real-time operating system C/OS-II, to implement the application methods of measuring the Real-Time performance of system. By realtime task creating, scheduling, suspending, resuming, external event interruption mechanism, the time measuring function in the embedded real-time operating system, with C language, assembly language and operating system , By measuring running time of tasks and response time of interrupt, reflecting the system real-time performance. This paper study the model infrastructure of realtime task and interruption technology on μC/OS-II, The implementing methods includes the design of application, implement methods and technique. The results can be run on windows X system which is based on x86 platform. It can be used as a reference model of operating system task models, to achieve quantitative analysis on performance. Keywords: Real-time Task Model; Real-time Task Performance; Interrupt Technique; Interrupt Performance

实时任务模型中的性能解析* ——中断性能研究 牛欣源 1, 2 北京信息科技大学 计算机学院,北京 100101 摘 要:本文主要提供了运用嵌入式实时操作系统C/OS-II中断技术,进行任务模型性能研究的一种研究思路和方法,基 于研究思路实现测量系统实时性能的应用方法。通过研究嵌入式实时操作系统μC/OS-II的实时任务的创建、调度、挂 起、恢复等基本操作,以及外部事件中断机制,时间测量函数等功能,结合C语言、汇编语言和操作系统的基本运用, 通过对任务运行时间和中断响应时间的测量,获取系统的实时性能。本文研究C/OS-II中断技术,并结合实时任务模型 的基本架构,实现方法采用实时内核应用程序的设计思路、实现方法,以及实现技术。该研究可以运行在基于x86平台的 windows X的操作系统上,可以作为研究操作系统实时任务模型的参考模型的性能指标的量化分析。 关键词:实时任务模型;实时任务性能;中断技术;中断性能

引言 针对目前对嵌入式系统的功能和性能需求日益增长,需要对其考量标准进行可行性规范化可操作化研 究。如何考核嵌入式系统的性能成为开发嵌入系统的关键和难点。通过研究实时任务模型要素,为嵌入式 系统开发提供一种可操作的考量。实时系统对逻辑和时序的要求非常严格,如果逻辑和时序出现偏差将会 引起严重后果。实时系统有软实时系统和硬实时系统。软实时系统仅要求事件响应是实时的,并不要求限 定某一任务必须在多长时间内完成;而在硬实时系统中,不仅要求任务响应要实时,而且要求在规定的时 *

该论文由网络文化与数字传播北京市重点实验室 2011 年开放课题,北京市属高等学校创新团队建设与教师职业发展计划项目 (IDHT20130519) ,北京市教委专项(PXM2013_014224_000042,PXM2014_014224_000067)资助. - 55 http://www.ivypub.org/cst


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.
Real time task model performance analysis——interrupt performance research by menez - Issuu