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

Worst-Case Execution Time Analysis of Disable Interrupt Regions in a Commercial Real-Time Operating System



Martin Carlsson , Jakob Engblom , Andreas Ermedahl, Jan Lindblad , Björn Lisper

Research group:

Publication Type:

Conference/Workshop Paper


Proc. Workshop on Real-Time Tools


Uppsala University


Worst-Case Execution Time (WCET) analysis has been around for some time now, but has so far not been much used to analyse real production codes. Here, we present a case study where static WCET analysis was used to find upper time bounds for time-critical regions in a commercial real-time operating system. We report on practical experiences from the work, like the reverse engineering required to find these regions and prepare them for the analysis. We give the results of the WCET analysis and discuss the precision. We also present some qualitative and quantitative data on the program structure of the regions. This information is useful to judge whether WCET analysis could provide any useful results for this class of real codes, without excessive manual labour. Finally, we present a ``wishlist'' for features of WCET analysis tools, which has emerged during the project, and comment on the feasibility of implementing these features.


author = {Martin Carlsson and Jakob Engblom and Andreas Ermedahl and Jan Lindblad and Bj{\"o}rn Lisper},
title = {Worst-Case Execution Time Analysis of Disable Interrupt Regions in a Commercial Real-Time Operating System},
editor = {Paul Pettersson and Wang Yi},
month = {August},
year = {2002},
booktitle = {Proc. Workshop on Real-Time Tools},
publisher = {Uppsala University},
url = {}