首页 | 本学科首页   官方微博 | 高级检索  
     

同步语言的时间可预测多线程代码生成方法
引用本文:杨志斌,赵永望,黄志球,胡凯,马殿富,Jean-Paul BODEVEIX,Mamoun FILALI.同步语言的时间可预测多线程代码生成方法[J].软件学报,2016,27(3):611-632.
作者姓名:杨志斌  赵永望  黄志球  胡凯  马殿富  Jean-Paul BODEVEIX  Mamoun FILALI
作者单位:南京航空航天大学 计算机科学与技术学院,南京 210016;北京航空航天大学 软件开发环境国家重点实验室,北京 100191;软件新技术与产业化协同创新中心,南京 210016,北京航空航天大学 软件开发环境国家重点实验室,北京 100191,南京航空航天大学 计算机科学与技术学院,南京 210016;软件新技术与产业化协同创新中心,南京 210016,北京航空航天大学 软件开发环境国家重点实验室,北京 100191,北京航空航天大学 软件开发环境国家重点实验室,北京 100191,IRIT, Université de Toulouse, Toulouse, France,IRIT, Université de Toulouse, Toulouse, France
基金项目:国家自然科学基金(61502231),江苏省自然科学基金(BK20150753),软件开发环境国家重点实验室开放课题(SKLSDE-2015KF-04),航空科学基金(2015ZC52027),中国博士后科学基金, 973计划(2014CB744904)
摘    要:能够提供更强计算能力的多核处理器将在安全关键系统中得到广泛应用.但是,由于现代处理器所使用的流水线、乱序执行、动态分支预测、Cache等性能提高机制以及多核之间的资源共享,使得系统的最坏执行时间分析变得非常困难.为此,国际学术界提出时间可预测系统设计的思想,以降低系统的最坏执行时间分析难度.已有研究主要关注硬件层次及其编译方法的调整和优化,而较少关注软件层次,即时间可预测多线程代码的构造方法以及到多核硬件平台的映射.本文提出一种基于同步语言模型驱动的时间可预测多线程代码生成方法,并对代码生成器的语义保持进行证明;提出一种基于AADL(Architecture Analysis and Design Language)的时间可预测多核体系结构模型,作为本文研究的目标平台;最后,给出多线程代码到多核体系结构模型的映射方法,并给出系统性质的分析框架.

关 键 词:安全关键系统    多核处理器    时间可预测    同步语言    AADL(architecture  analysis  and  design  language)
收稿时间:2015/7/15 0:00:00
修稿时间:2015/10/20 0:00:00

Time-Predictable Multi-Threaded Code Generation with Synchronous Languages
YANG Zhi-Bin,ZHAO Yong-Wang,HUANG Zhi-Qiu,HU Kai,MA Dian-Fu,Jean-Paul BODEVEIX and Mamoun FILALI.Time-Predictable Multi-Threaded Code Generation with Synchronous Languages[J].Journal of Software,2016,27(3):611-632.
Authors:YANG Zhi-Bin  ZHAO Yong-Wang  HUANG Zhi-Qiu  HU Kai  MA Dian-Fu  Jean-Paul BODEVEIX and Mamoun FILALI
Affiliation:College of Computer Science and Technology, Nanjing University of Aeronautics and Astronautics, Nanjing 210016, China;State Key Laboratory of Software Development Environment(BeiHang University), Beijing 100191, China;Collaborative Innovation Center of Novel Software Technology and Industrialization, Nanjing 210016, China,State Key Laboratory of Software Development Environment(BeiHang University), Beijing 100191, China,College of Computer Science and Technology, Nanjing University of Aeronautics and Astronautics, Nanjing 210016, China;Collaborative Innovation Center of Novel Software Technology and Industrialization, Nanjing 210016, China,State Key Laboratory of Software Development Environment(BeiHang University), Beijing 100191, China,State Key Laboratory of Software Development Environment(BeiHang University), Beijing 100191, China,IRIT, Université de Toulouse, Toulouse, France and IRIT, Université de Toulouse, Toulouse, France
Abstract:Multi-core processors will be widely used in safety-critical systems. Unfortunately, the introduction of performance-enhancing architectural elements, such as pipelines, out-of-order execution, dynamic branch prediction, and caches, etc., as well as inter-cores resource-sharing, make the WCET (Worst-Case Execution Time) analysis of a system become more difficult. Thus, time-predictable system design is concerned with the challenge of building systems for which WCET can be statically and easily analyzed. At the software level, we propose a time-predictable multi-threaded code generation based on synchronous-model development. At the platform level, we propose a time-predictable multi-core architecture model in AADL (Architecture Analysis and Design Language), and then we map the multi-threaded code to this model. Real-time specifications propagate down in the system hierarchy. Therefore, our method integrates time predictability across several design layers, and finally reduces the complexity of WCET analysis.
Keywords:safety-critical systems  multi-core processor  time predictability  synchronous language  AADL (architecture analysis and design language)
点击此处可从《软件学报》浏览原始摘要信息
点击此处可从《软件学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号