PREDICTING PROGRAM EXECUTION TIMES BY ANALYZING STATIC AND DYNAMIC PROGRAM PATHS

被引:122
作者
PARK, CY [1 ]
机构
[1] UNIV WASHINGTON,DEPT COMP SCI & ENGN,SEATTLE,WA 98195
关键词
D O I
10.1007/BF01088696
中图分类号
TP301 [理论、方法];
学科分类号
081202 [计算机软件与理论];
摘要
This paper describes a method to predict guaranteed and tight deterministic execution time bounds of a sequential program. The basic prediction technique is a static analysis based on simple timing schema for source-level language constructs, which gives accurate predictions in many cases. Using powerful user-provided information, dynamic path analysis refines looser predictions by eliminating infeasible paths and decomposing the possible execution behaviors in a pathwise manner. Overall prediction cost is scalable with respect to desired precision, controlling the amount of information provided. We introduce a formal path model for dynamic path analysis, where user execution information is represented by a set of program paths. With a well-defined practical high-level interface language, user information can be used in an easy and efficient way. We also introduce a method to verify given user information with known program verification techniques. Initial experiments with a timing tool show that safe and tight predictions are possible for a wide range of programs. The tool can also provide predictions for interesting subsets of program executions.
引用
收藏
页码:31 / 62
页数:32
相关论文
共 25 条
[1]
CONSTRAINED EXPRESSIONS - ADDING ANALYSIS CAPABILITIES TO DESIGN METHODS FOR CONCURRENT SOFTWARE SYSTEMS [J].
AVRUNIN, GS ;
DILLON, LK ;
WILEDEN, JC ;
RIDDLE, WE .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1986, 12 (02) :278-291
[2]
BUILDING A REAL-TIME KERNEL - 1ST STEPS IN VALIDATING A PURE PROCESS ADT MODEL [J].
CALLISON, HR ;
SHAW, AC .
SOFTWARE-PRACTICE & EXPERIENCE, 1991, 21 (04) :337-354
[3]
CHEN M, 1987, TAL LANGUAGE TIMING
[4]
Dijkstra EW, 1976, DISCIPLINE PROGRAMMI
[5]
REAL-TIME CONCURRENT-C - A LANGUAGE FOR PROGRAMMING DYNAMIC REAL-TIME SYSTEMS [J].
GEHANI, N ;
RAMAMRITHAM, K .
REAL-TIME SYSTEMS, 1991, 3 (04) :377-405
[6]
GRIERSON D, 1981, RECENT ADV BIOCH FRU, P149
[7]
AN AXIOMATIC BASIS FOR COMPUTER PROGRAMMING [J].
HOARE, CAR .
COMMUNICATIONS OF THE ACM, 1969, 12 (10) :576-&
[8]
STATE CONSTRAINTS AND PATHWISE DECOMPOSITION OF PROGRAMS [J].
HUANG, JC .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1990, 16 (08) :880-896
[9]
KIM J, 1990, 900901 U WASH DEP CO
[10]
AUTOMATED SOFTWARE TEST DATA GENERATION [J].
KOREL, B .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1990, 16 (08) :870-879