Title :
Eliminating annotations by automatic flow analysis of real-time programs
Author_Institution :
Dept. of Comput. Eng., Malardalen Univ., Vasteras, Sweden
Abstract :
There is an increasing demand for methods that calculate the worst case execution time (WCET) of real time programs. The calculations are typically based on path information for the program, such as the maximum number of iterations in loops and identification of infeasible paths. Most often, this information is given as manual annotations by the programmer. Our method calculates path information automatically for real time programs, thereby relieving the programmer from tedious and error-prone work. The method, based on abstract interpretation, generates a safe approximation of the path information. A trade-off between quality and calculation cost is made, since finding the exact information is a complex, often intractable problem for nontrivial programs. We describe the method by a simple, worked example. We show that our prototype tool is capable of analyzing a number of program examples from the WCET literature, without using any extra information or consideration of special cases needed in other approaches
Keywords :
automatic programming; program diagnostics; real-time systems; WCET; abstract interpretation; annotations; automatic flow analysis; calculation cost; exact information; infeasible paths; intractable problem; nontrivial programs; path information; real time programs; safe approximation; worst case execution time; Computer industry; Costs; Hardware; Performance analysis; Programming profession; Real time systems; Software performance; Software prototyping; Software tools; World Wide Web;
Conference_Titel :
Real-Time Computing Systems and Applications, 2000. Proceedings. Seventh International Conference on
Conference_Location :
Cheju Island
Print_ISBN :
0-7695-0930-4
DOI :
10.1109/RTCSA.2000.896435