WCET Analysis meets Virtual Prototyping: Improving Source-Level Timing Annotations

Martin Becker, Marius Pazaj, Samarjit Chakraborty

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

2 Scopus citations

Abstract

In this paper we discuss the problem of relating machine instructions to source level constructs, and how it has been addressed in the domains of Virtual Prototyping (VP) and Worst-Case Execution Time (WCET) analysis. It has been handled in different ways, although the goals and requirements between both domains are not far from another. This paper shows that there exists a mutual benefit in exchanging solutions between the two research domains, by demonstrating the applicability and utility of VP methods for WCET analysis, and highlighting their shortcomings. After an evaluation of existing methods, we carefully rework and combine them to a sound and generic mapping algorithm for source-level WCET analysis. As a result, we obtain WCET estimates that outperform classic binary analyzers especially under moderate compiler optimization. Our approach is based on hierarchical flow matching, control-dependency- and dominator-homomorphic maps, and dominator lumping to soundly fill the gaps in the mapping. WCET estimation is performed using Model Checking, which maximally exploits the information available in the source, and highlights remaining weaknesses in the mapping methods. Last but not least, we discuss further chances of synergy between both research communities which could enable support for more complex microarchitectures with caches, pipelines and speculative execution in both source-level WCET analysis and VP.

Original languageEnglish
Title of host publicationProceedings of the 22nd International Workshop on Software and Compilers for Embedded Systems, SCOPES 2019
EditorsSander Stuijk
PublisherAssociation for Computing Machinery, Inc
Pages13-22
Number of pages10
ISBN (Electronic)9781450367622
DOIs
StatePublished - 27 May 2019
Event22nd International Workshop on Software and Compilers for Embedded Systems, SCOPES 2019 - St. Goar, Germany
Duration: 27 May 201928 May 2019

Publication series

NameProceedings of the 22nd International Workshop on Software and Compilers for Embedded Systems, SCOPES 2019

Conference

Conference22nd International Workshop on Software and Compilers for Embedded Systems, SCOPES 2019
Country/TerritoryGermany
CitySt. Goar
Period27/05/1928/05/19

Fingerprint

Dive into the research topics of 'WCET Analysis meets Virtual Prototyping: Improving Source-Level Timing Annotations'. Together they form a unique fingerprint.

Cite this