Extending optimising compilation to support worst-case execution time analysis : von Raimund Kirner
Year: 2003
Type: dissertation
Abstract: Embedded real-time systems are increasingly used in control applications. To guarantee the safe operation it is required to verify that the system can complete its tasks within their deadlines. Therefore, it is important to know the worst-case execution time WCET) of the code running on the system. For the precise calculation of the WCET, the code has to be analysed at the object code level. The software is typically written in a language like C and translated by a compiler. Due to undecidability, the calculation of the WCET needs the knowledge of additional control-flow information. It is necessary to specify this information at the source code level in order to map the information onto the object code. Therefore, to perform precise WCET analysis for programs optimised by the compiler, the flow facts have to be transformed in parallel to the code transformations. In contrast to previous work this thesis presents a framework to construct flow facts update functions for all types of code optimisations. Previous solutions are either based on matching the debug information with the source code or on logging of only restricted code transformations. This thesis presents a novel concept to transform flow information in parallel to the code transformations performed by the compiler. The code transformations are abstracted to their relevant structural changes. From the structural update and the known semantic control-flow information of the performed code transformation, a safe and precise transformation of the flow information is induced. The approach is based on a graphical transformation framework that takes advantage of the additional semantic code information known by the compiler. The abstract representation of the control flow graph allows the modelling of blocks with multiple branching edges which enables the integration of this method into various compilers.
Source: reposiTUm (TU Wien)
Author: Kirner, Raimund
Institution: TU Wien
Language: English
Topic: Real-Time Systems Scheduling
Subfield: Hardware and Architecture
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W3084586562
