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

程序执行时间的静态预估与可视化分析方法
引用本文:孙昌爱,金茂忠,刘超,靳若明.程序执行时间的静态预估与可视化分析方法[J].软件学报,2003,14(1):68-75.
作者姓名:孙昌爱  金茂忠  刘超  靳若明
作者单位:北京航空航天大学,计算机科学与工程系,北京,100083
基金项目:(Supported by the National Natural Science Foundation of China under Grant No.60073005 (国家自然科学基金); the National High-Tech Research and Development Plan of China under Grant No.2001AA110244 (国家高技术研究发展计划)
摘    要:软件时间性能分析与评估技术是实时软件开发中的一个重要课题.提出了一种基于控制流程图的程序执行时间的可视化分析框架,研究了中间代码段与源程序中语句的对应关系的自动分析、源程序语句行的CPU周期数的提取和计算方法、基于控制流程图的点到点最大时间分析算法和CPU周期的绝对时间估计方法.设计并实现了一个实用的基于控制流程图的程序执行时间静态分析与评估工具.最后,对研究工作进行了相关比较和总结.

关 键 词:程序执行时间预估  最大执行时间  程序控制流程图  实时软件  软件测试  软件工程
文章编号:1000-9825/2003/14(01)0068
收稿时间:2001/7/10 0:00:00
修稿时间:2001年7月10日

An Approach to Static Prediction and Visual Analysis of Program Execution Time
SUN Chang-Ai,JIN Mao-Zhong,LIU Chao and LIU Chao.An Approach to Static Prediction and Visual Analysis of Program Execution Time[J].Journal of Software,2003,14(1):68-75.
Authors:SUN Chang-Ai  JIN Mao-Zhong  LIU Chao and LIU Chao
Abstract:An important issue of real-time software development is to analyze and predict the execution time of real-time software. A kind of visual prediction and analysis framework of the execution time of real-time software based on program flowchart is proposed in the paper. The key issues of implementing the framework are discussed in detail, including creating the mapping between intermediate code segment and statement line of source code, retrieving the time of any given program segment from the perspective of CPU cycles of goal machine instruct, calculating CPU cycles of statement lines of source code, point-to-point WCETC (worst case execution time calculated) analysis algorithm based on program flowchart, and transforming CPU cycle into physical time. Based on the framework, a practical tool has been developed to predicate and analyze visually the program execution time. Finally, conclusion and comparison between the work in this paper and others is given.
Keywords:program execution time evaluation  worst case execution time  program flowchart  real-time software  software testing  software engineering
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《软件学报》浏览原始摘要信息
点击此处可从《软件学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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