You are required to read and agree to the below before accessing a full-text version of an article in the IDE article repository.

The full-text document you are about to access is subject to national and international copyright laws. In most cases (but not necessarily all) the consequence is that personal use is allowed given that the copyright owner is duly acknowledged and respected. All other use (typically) require an explicit permission (often in writing) by the copyright owner.

For the reports in this repository we specifically note that

  • the use of articles under IEEE copyright is governed by the IEEE copyright policy (available at
  • the use of articles under ACM copyright is governed by the ACM copyright policy (available at
  • technical reports and other articles issued by M‰lardalen University is free for personal use. For other use, the explicit consent of the authors is required
  • in other cases, please contact the copyright owner for detailed information

By accepting I agree to acknowledge and respect the rights of the copyright owner of the document I am about to access.

If you are in doubt, feel free to contact

Code Analysis for Temporal Predictability


Jan Gustafsson, Björn Lisper, Raimund Kirner , Peter Puschner


Available online at <a href=""></a>

Research group:

Publication Type:

Journal article


Real-Time Systems




The execution time of software for hard real-time systems must be predictable. Further, safe and not overly pessimistic bounds for the worst-case execution time (WCET) must be computable. We conceived a programming strategy called WCET-oriented programming and a code transformation strategy, the single-path conversion, that aid programmers in producing code that meets these requirements. These strategies avoid and eliminate input-data dependencies in the code. The paper describes the formal analysis, based on abstract interpretation, that identifies input-data dependencies in the code and thus forms the basis for the strategies provided for hard real-time code development.


author = {Jan Gustafsson and Bj{\"o}rn Lisper and Raimund Kirner and Peter Puschner},
title = {Code Analysis for Temporal Predictability},
note = {Available online at \textlessa href={"}{"}\textgreater\textless/a\textgreater},
volume = {32},
number = {3},
pages = {253--277},
month = {March},
year = {2006},
journal = { Real-Time Systems},
publisher = {Springer-Verlag},
url = {}