Title :
Fast, Interactive Worst-Case Execution Time Analysis With Back-Annotation
Author :
Harmon, Trevor ; Schoeberl, Martin ; Kirner, Raimund ; Klefstad, Raymond ; Kim, Kwang H. ; Lowry, Michael R.
Author_Institution :
NASA Ames Res. Center, Moffett Field, CA, USA
fDate :
5/1/2012 12:00:00 AM
Abstract :
For hard real-time systems, static code analysis is needed to derive a safe bound on the worst-case execution time (WCET). Virtually all prior work has focused on the accuracy of WCET analysis without regard to the speed of analysis. The resulting algorithms are often too slow to be integrated into the development cycle, requiring WCET analysis to be postponed until a final verification phase. In this paper, we propose interactive WCET analysis as a new method to provide near-instantaneous WCET feedback to the developer during software programming. We show that interactive WCET analysis is feasible using tree-based WCET calculation. The feedback is realized with a plugin for the Java editor jEdit, where the WCET values are back-annotated to the Java source at the statement level. Comparison of this tree-based approach with the implicit path enumeration technique (IPET) shows that tree-based analysis scales better with respect to program size and gives similar WCET values.
Keywords :
interactive systems; program diagnostics; software performance evaluation; trees (mathematics); Java editor jEdit; final verification phase; implicit path enumeration technique; interactive WCET analysis; interactive worst-case execution time analysis; near-instantaneous WCET feedback; software programming; static code analysis; tree-based WCET calculation; Algorithm design and analysis; Java; Program processors; Real time systems; Timing; Performance analysis; real-time systems; safety; software algorithms; software performance; software reliability;
Journal_Title :
Industrial Informatics, IEEE Transactions on
DOI :
10.1109/TII.2012.2187457