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 Estimation of Legacy Vehicular Embedded Functions: An Industrial Case Study


Marcus Ventovaara , Arman Hasanbegovic , Jimmie Wiklander , Saad Mubeen

Publication Type:

Conference/Workshop Paper


21st IEEE International Conference on Industrial Technology




Estimation of Worst Case Execution Times (WCETs) of software functions in a real-time embedded system is fundamentally important in verifying its timing behaviour. Many existing WCET analysis tools and benchmarks, based on static WCET analysis methods, are limited to analyse software functions that conform to specific programming languages and libraries. As a consequence, these tools do not support WCET estimation of software functions in the legacy industrial systems that do not conform to those languages and libraries. This paper advocates to use a statistical method based on extreme value theory for estimating WCETs of software functions in such legacy industrial embedded systems. The main advantage of this method is that it is agnostic of the languages and libraries that are used to implement the software functions. In order to provide a proof of concept, the paper incorporates an industrial use case and applies the method to estimate WCETs of the software functions. The paper also presents an extensive comparative evaluation of the statistical method and an established static analysis tool for estimating WCETs that utilises high-level flow analysis.


author = {Marcus Ventovaara and Arman Hasanbegovic and Jimmie Wiklander and Saad Mubeen},
title = {Worst-case Execution Time Estimation of Legacy Vehicular Embedded Functions: An Industrial Case Study},
month = {February},
year = {2020},
booktitle = {21st IEEE International Conference on Industrial Technology},
publisher = {IEEE},
url = {}