University of Hertfordshire

From the same journal

By the same authors

Calculating WCET Estimates from Timed Traces

Research output: Contribution to journalArticlepeer-review


View graph of relations
Original languageEnglish
Pages (from-to)38-87
Number of pages50
JournalReal-Time systems
Publication statusPublished - 1 Sep 2015


Real-time systems engineers face a daunting duty: They must ensure that each task in their system can always meet its deadline. To analyse schedulability they must know the worst-case execution time (WCET) of each task. However, determining exact WCETs is practically infeasible in cost-constrained industrial settings involving real-life code and COTS hardware. Static analysis tools that could yield sufficiently tight WCET bounds are often unavailable. As a result, interest in portable analysis approaches like measurement-based timing analysis (MBTA) is growing. We present an approach based on integer linear programming (ILP) for calculating a WCET estimate from a given database of timed execution traces. Unlike previous work, our method specifically aims at reducing overestimation, by means of an automatic classification of code executions into scenarios with differing worst-case behaviour. To ease the integration into existing analysis tool chains, our method is based on the implicit path enumeration technique (IPET). It can thus reuse flow facts from other analysis tools and produces ILP problems that can be solved by off-the-shelf solvers.


© The Author(s) 2015. This article is published with open access at

ID: 9226577