DocumentCode :
543915
Title :
Influence of procedure cloning on WCET prediction
Author :
Lokuciejewski, Paul ; Falk, Heiko ; Schwarzer, Martin ; Marwedel, Peter ; Theiling, Henrik
Author_Institution :
Comput. Sci. 12, Univ. of Dortmund, Dortmund, Germany
fYear :
2007
fDate :
Sept. 30 2007-Oct. 3 2007
Firstpage :
137
Lastpage :
142
Abstract :
For the worst-case execution time (WCET) analysis, especially loops are an inherent source of unpredictability and loss of precision. This is caused by the difficulty to obtain safe and tight information on the number of iterations executed by a loop in the worst case. In particular, data-dependent loops whose iteration counts depend on function parameters are extremely difficult to analyze precisely. Procedure cloning helps by making such data-dependent loops explicit within the source code, thus making them accessible for high-precision WCET analyses. This paper presents the effect of procedure cloning applied at the source-code level on worst-case execution time. The optimization generates specialized versions of functions being called with constant values as arguments. In standard literature, it is used to enable further optimizations like constant propagation within functions and to reduce calling overhead. We show that procedure cloning for WCET minimization leads to significant improvements. Reductions of the WCET from 12% up to 95% were measured for real-life benchmarks. These results demonstrate that procedure cloning improves analyzability and predictability of real-time applications dramatically. In contrast, average-case performance as the criterion procedure cloning was developed for is reduced by only 3% at most. Our results also show that these WCET reductions only implied small overhead during WCET analysis.
Keywords :
embedded systems; optimisation; program compilers; WCET analysis; average case performance; constant propagation; data dependent loop; procedure cloning; source code level; worst case execution time analysis; Benchmark testing; Cloning; Context; Optimization; Real time systems; Thumb; Timing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Hardware/Software Codesign and System Synthesis (CODES+ISSS), 2007 5th IEEE/ACM/IFIP International Conference on
Conference_Location :
Salzburg
Print_ISBN :
978-1-5959-3824-4
Type :
conf
Filename :
5753828
Link To Document :
بازگشت