###
DOI:
Journal of Software:2003.14(1):68-75

程序执行时间的静态预估与可视化分析方法
孙昌爱,金茂忠,刘超,靳若明
(北京航空航天大学,计算机科学与工程系,北京,100083)
An Approach to Static Prediction and Visual Analysis of Program Execution Time
SUN Chang-Ai,JIN Mao-Zhong,LIU Chao,LIU Chao
()
Abstract
Chart / table
Reference
Similar Articles
Article :Browse 3032   Download 3333
Received:July 10, 2001    Revised:April 10, 2002
> 中文摘要: 软件时间性能分析与评估技术是实时软件开发中的一个重要课题.提出了一种基于控制流程图的程序执行时间的可视化分析框架,研究了中间代码段与源程序中语句的对应关系的自动分析、源程序语句行的CPU周期数的提取和计算方法、基于控制流程图的点到点最大时间分析算法和CPU周期的绝对时间估计方法.设计并实现了一个实用的基于控制流程图的程序执行时间静态分析与评估工具.最后,对研究工作进行了相关比较和总结.
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.
文章编号:     中图分类号:    文献标志码:
基金项目:(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 (国家高技术研究发展计划) (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 (国家高技术研究发展计划)
Foundation items:
Reference text:

孙昌爱,金茂忠,刘超,靳若明.程序执行时间的静态预估与可视化分析方法.软件学报,2003,14(1):68-75

SUN Chang-Ai,JIN Mao-Zhong,LIU Chao,LIU Chao.An Approach to Static Prediction and Visual Analysis of Program Execution Time.Journal of Software,2003,14(1):68-75