Calculating the maximum execution time of real-time programs

P Puschner, C Koza - Real-time systems, 1989 - Springer
P Puschner, C Koza
Real-time systems, 1989Springer
In real-time systems, the timing behavior is an important property of each task. It has to be
guaranteed that the execution of a task does not take longer than the specified amount of
time. Thus, a knowledge about the maximum execution time of programs is of utmost
importance. This paper discusses the problems for the calculation of the maximum execution
time (MAXT... MAximum eXecution Time). It shows the preconditions which have to be met
before the MAXT of a task can be calculated. Rules for the MAXT calculation are described …
Abstract
In real-time systems, the timing behavior is an important property of each task. It has to be guaranteed that the execution of a task does not take longer than the specified amount of time. Thus, a knowledge about the maximum execution time of programs is of utmost importance.
This paper discusses the problems for the calculation of the maximum execution time (MAXT... MAximum eXecution Time). It shows the preconditions which have to be met before the MAXT of a task can be calculated. Rules for the MAXT calculation are described. Triggered by the observation that in most cases the calculated MAXT far exceeds the actual execution time, new language constructs are introduced. These constructs allow programmers to put into their programs more information about the behavior of the algorithms implemented and help to improve the self checking property of programs. As a consequence, the quality of MAXT calculations is improved significantly. In a realistic example, an improvement fator of 11 has been achieved.
Springer