期刊文献+

实时嵌入式系统的竞态条件及其分析方法研究 被引量:4

Race Condition and Its Analysis Approach of Real-time Embedded Systems
下载PDF
导出
摘要 竞态条件使得多个任务对共享资源进行操作的先后顺序在不同的执行情况下发生改变,从而可能引起系统异常.为了分析实时嵌入式系统可能出现的竞态条件及其所带来的影响,根据目标系统的执行特征,建立系统的执行序列模型,对相关的竞态条件进行精确描述,并在此基础上提出一种竞态集来存储和分析系统的竞态条件,然后利用获取到的竞态集,构建系统的竞态条件图来预测系统潜在的竞态同步关系.实验分析表明该方法能够有效地分析和预测目标系统各种可能的竞态同步关系及其所带来的不同执行情况和结果. In real-time embedded systems, due to race conditions, synchronization order of operations to the shared variables or shared resource during the multiple tasks may be different from one execution to another. This may cause abnormal behaviors of systems. In order to detect the possible race conditions and analyze the impacts of race conditions effectively in real-time embedded systems, a formal model of execution sequences and operation events are presented according to the timing behaviors and execution characteristics of real-time embedded systems. Their characteristics are also discussed. Based on the execution sequence model, race conditions including message races and semaphore races in real-time embedded systems are described formally and precisely. And then, a new race set is presented to describe and store race conditions in systems. It includes the information of happened-before relations and race synchronization relations among the operation events which have races. With the race set generated, a race condition graph is constructed to visualize the race conditions. It is also used to predict the potential race synchronization relations of systems. The case study shows that the approach proposed can be used to analyze and predict efficiently the potential race synchronization relations as well as the different execution situations and results of real-time embedded systems.
出处 《计算机研究与发展》 EI CSCD 北大核心 2010年第7期1201-1210,共10页 Journal of Computer Research and Development
基金 国家自然科学基金项目(60753001) 教育部新世纪人才计划基金项目
关键词 实时嵌入式系统 执行序列 竞态条件 竞态集 竞态条件图 real-time embedded system execution sequence race condition race set race condition graph
  • 相关文献

参考文献19

  • 1Netzer R H B,Miller B P.What are race conditions? Some issues and formalizations[J].ACM Letters on Programming Languages and Systems,1992,1(1):74-88.
  • 2Keralapura R,Chuah C N.Race conditions in coexisting overlay networks[J].IEEE/ACM Trans on Networking,2008,16(1):1-14.
  • 3Engler D,Ashcraft K.RacerX:Effective,static detection of race conditions and deadlocks[C] //Proc of the 19th ACM Symp on Operating Systems Principles (SOSP).New York:ACM,2003:237-252.
  • 4Boyapati C,Lee R,Rinard M.Ownership types for safe programming:preventing data races and deadlocks[C] //Proc of the 17th ACM OOPSLA02.New York:ACM,2002:211-230.
  • 5Blanc N,Kroening D.Race analysis for SystemC using model checking[C] //Proc of IEEE/ACM Int Conf on Computer-Aided Design.New York:ACM,2008:356-363.
  • 6Yu Y,Rodeheffer T,Chen W.RaceTrack:Efficient detection of data race conditions via adaptive tracking[C] //Proc of the 12th ACM Symp on Operating Systems Principles.New York:ACM,2005:221-234.
  • 7Klein P N,Lu H I,Netzer R H B.Detecting race conditions in parallel programs that use semaphores[J].Algorithmic,2003,35(4):321-345.
  • 8Pozniansky E,Schuster A.Efficient on-the-fly data race detection in multithreaded C+ + programs[C] //Proc of PPoPP03.New York:ACM,2003:179-190.
  • 9Park M Y,Chung S H.Detection of first races for debugging message-passing programs[C] //Proc of the 8th IEEE Int Conf on Computer and Information Technology.Piscataway,NJ:IEEE,2008:261-266.
  • 10Tai K C.Race analysis of traces of asynchronous message-passing programs[C] //Proc of ICDCS97.Piscataway,NJ:IEEE,1997:261-268.

二级参考文献58

  • 1宾雪莲,杨玉海,金士尧.一种基于分组与适当选取策略的实时多处理器系统的动态调度算法[J].计算机学报,2006,29(1):81-91. 被引量:17
  • 2沈卓炜,汪芸.基于EDF调度策略的端到端实时系统可调度性分析算法[J].计算机研究与发展,2006,43(5):813-820. 被引量:8
  • 3李建国,陈松乔,鲁志辉.实时异构系统的动态分批优化调度算法[J].计算机学报,2006,29(6):976-984. 被引量:13
  • 4Tilak Agerwala, Siddhartha Chatterijee. Computer architecture: Challenges and opportunities for the next decade [J]. IEEE Micro, 2005, 25(3):58-69
  • 5Wayne Wolf. The future of multiprocessor systems-on-chips [C] //Proc of the 41st Annual Conf on Design Automation, New York: ACM Press, 2004: 681-684
  • 6Abmed Jerraya, Hannu Tenbunen, Wayne Wolf. Multiprocessor systems-on-chips [J]. IEEE Computer, 2005, 38(7): 36-40
  • 7Tim Kogel, Heinrich Meyr. Hetegeneous MPSoCThe solution to energy-efficent signal [C] //Proe of the 41st Annual Conf on Design Automation. New York: ACM Press, 2004, 686-691
  • 8Kunle Olukotun. Stanford hydra single-chip multiprocessor [EB/OL]. [2006-10-30]. http://www-hydra. stanford. edu/
  • 9Ruby B Lee. Princeton architecture laboratory for multimedia and security [ EB/OL]. [2006-10 -30]. http://palms. ee. princeton. edu/index, html/
  • 10Hill Mark, Wood David. Wisconsin multifacet project[EB/ OL]. [2006-10-30]. http: //www. cs. wisc. edu/gems/

共引文献29

同被引文献34

  • 1胡军,张岩,于笑丰,王林章,李宣东,郑国梁.嵌入式软件建模、实现与验证:研究与进展[J].计算机科学,2005,32(12):16-23. 被引量:10
  • 2何泉,贺玉梅.基于AT91RM9200的嵌入式音频系统设计[J].微计算机信息,2007,23(17):12-14. 被引量:5
  • 3罗家兵,滕少华,张巍,吴剑敏.Wince.net下流接口驱动研究与实现[J].微计算机信息,2007,23(27):229-230. 被引量:11
  • 4Microsoft. Interrupt service threads [DB/OL]. http: //msdn. microsoft, com/en-us/library/ee481092 ( v = winembedded. 60). aspx, 2010.
  • 5Microsoft. Wavedev2 audio model [DB/OL]. http: //msdn. microsoft, com/en-us/library/ee485290 ( v = winembedded. 60). aspx, 2010.
  • 6Freescale. MC13783 power management and audio circuit user' s guide [EB/OL]. http: //www. freescale, corn/, 2007.
  • 7Freescale. MCIMX31 and MCIMX31L applications processors reference manual [EB/OL]. http://www. freescale. com/, 2007.
  • 8Yoshihito, Andy Raffman, luciad, et al. Windows CE multimedia team blog [EB/OL]. http: //blogs. msdn. corn/b/reedmedia/, 2011.
  • 9Microsoft. Streem interface drivers [DB/OL]. http: //msdn. microsoft, com/enus/library/ms923745, aspx, 2011.
  • 10Jinhaijian.WaveformAudio驱动(Wavedev2)之:wAV驱动解析[EB/OL].http://blog.csdn.net/jinhajian/archive/2010/04/25/5528192.aspx,2011.

引证文献4

二级引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部