Title :
Automatic detection and exploitation of branch constraints for timing analysis
Author :
Healy, Christopher A. ; Whalley, David B.
Author_Institution :
Comput. Sci. Dept., Furman Univ., Greenville, SC, USA
fDate :
8/1/2002 12:00:00 AM
Abstract :
Predicting the worst-case execution time (WCET) and best-case execution time (BCET) of a real-time program is a challenging task. Though much progress has been made in obtaining tighter timing predictions by using techniques that model the architectural features of a machine, significant overestimations of WCET and underestimations of GCET can still occur. Even with perfect architectural modeling, dependencies on data values can constrain the outcome of conditional branches and the corresponding set of paths that can be taken in a program. While branch constraint information has been used in the past by some timing analyzers, it has typically been specified manually, which is both tedious and error prone. This paper describes efficient techniques for automatically detecting branch constraints by a compiler and automatically exploiting these constraints within a timing analyzer. The result is significantly tighter timing analysis predictions without requiring additional interaction with a user.
Keywords :
program compilers; program testing; real-time systems; timing; architectural features; best-case execution time; branch constraint information; branch constraints; compiler; real-time program; real-time systems; timing analysis; worst-case execution time; Automatic control; Computer Society; Information analysis; Performance analysis; Pipelines; Predictive models; Programming profession; Real time systems; Time measurement; Timing;
Journal_Title :
Software Engineering, IEEE Transactions on
DOI :
10.1109/TSE.2002.1027799