When creating real time systems for embedded vehicle computers it is important to know how they will behave during the worst possible scenario. To know each task’s WCET (Worst Case Execution Time) is a prerequisite for being able to know if their deadlines always will be met. A missed deadline in a real time system can lead to severe consequences. Volvo CE is using the Rubus real time operating system for their vehicles. Before Rubus is creating the task schedule, the user has to specify the period time, offset time and WCET for each task. The estimated WCET for each task is today based on measures from automatic tests or by experiences. However, it can not be guaranteed that these automatic tests have found the longest possible path through each task. This can result in a too low estimate of the WCET, which means that the behaviour of the system is unreliable. This thesis investigates if WCET analysis tool aiT can be used to find safe WCET estimates for the tasks in Volvo CE’s applications, and how much user input is needed to get the result. Analysis results from aiT are compared to measured results and the WCET estimates used today. We have found that the times set in Rubus are in many cases greatly overestimated, and that Volvo CE would have good use of analyzing the tasks with aiT in order to get tighter WCETs. By giving annotations for the tool, the WCET estimates can become even tighter, but this also requires some manual work.
[1]
Jan Gustafsson,et al.
A tool for automatic flow analysis of C-programs for WCET calculation
,
2003,
Proceedings of the Eighth International Workshop on Object-Oriented Real-Time Dependable Systems, 2003. (WORDS 2003)..
[2]
Jan Gustafsson,et al.
Towards a flow analysis for embedded system C programs
,
2005,
10th IEEE International Workshop on Object-Oriented Real-Time Dependable Systems.
[3]
Andreas Ermedahl,et al.
A Modular Tool Architecture for Worst-Case Execution Time Analysis
,
2008
.
[4]
Jan Gustafsson,et al.
Static Timing Analysis of Real-Time Operating System Code
,
2004,
ISoLA.
[5]
Jan Gustafsson,et al.
Applying static WCET analysis to automotive communication software
,
2005,
17th Euromicro Conference on Real-Time Systems (ECRTS'05).
[6]
Harry F. Jordan,et al.
Computer systems design and architecture
,
1996
.
[7]
Stephan Thesing,et al.
Safe and precise WCET determination by abstract interpretation of pipeline models
,
2004
.
[8]
Jan Gustafsson,et al.
Evaluating Static Worst-Case Execution-Time Analysis for a Commercial Real-Time Operating System
,
2004
.