• Skip to content (access key 1)
  • Skip to search (access key 7)
FWF — Austrian Science Fund
  • Go to overview page Discover

    • Research Radar
      • Research Radar Archives 1974–1994
    • Discoveries
      • Emmanuelle Charpentier
      • Adrian Constantin
      • Monika Henzinger
      • Ferenc Krausz
      • Wolfgang Lutz
      • Walter Pohl
      • Christa Schleper
      • Elly Tanaka
      • Anton Zeilinger
    • Impact Stories
      • Verena Gassner
      • Wolfgang Lechner
      • Birgit Mitter
      • Oliver Spadiut
      • Georg Winter
    • scilog Magazine
    • Austrian Science Awards
      • FWF Wittgenstein Awards
      • FWF ASTRA Awards
      • FWF START Awards
      • Award Ceremony
    • excellent=austria
      • Clusters of Excellence
      • Emerging Fields
    • In the Spotlight
      • 40 Years of Erwin Schrödinger Fellowships
      • Quantum Austria
    • Dialogs and Talks
      • think.beyond Summit
    • Knowledge Transfer Events
    • E-Book Library
  • Go to overview page Funding

    • Portfolio
      • excellent=austria
        • Clusters of Excellence
        • Emerging Fields
      • Projects
        • Principal Investigator Projects
        • Principal Investigator Projects International
        • Clinical Research
        • 1000 Ideas
        • Arts-Based Research
        • FWF Wittgenstein Award
      • Careers
        • ESPRIT
        • FWF ASTRA Awards
        • Erwin Schrödinger
        • doc.funds
        • doc.funds.connect
      • Collaborations
        • Specialized Research Groups
        • Special Research Areas
        • Research Groups
        • International – Multilateral Initiatives
        • #ConnectingMinds
      • Communication
        • Top Citizen Science
        • Science Communication
        • Book Publications
        • Digital Publications
        • Open-Access Block Grant
      • Subject-Specific Funding
        • AI Mission Austria
        • Belmont Forum
        • ERA-NET HERA
        • ERA-NET NORFACE
        • ERA-NET QuantERA
        • Alternative Methods to Animal Testing
        • European Partnership BE READY
        • European Partnership Biodiversa+
        • European Partnership BrainHealth
        • European Partnership ERA4Health
        • European Partnership ERDERA
        • European Partnership EUPAHW
        • European Partnership FutureFoodS
        • European Partnership OHAMR
        • European Partnership PerMed
        • European Partnership Water4All
        • Gottfried and Vera Weiss Award
        • LUKE – Ukraine
        • netidee SCIENCE
        • Herzfelder Foundation Projects
        • Quantum Austria
        • Rückenwind Funding Bonus
        • WE&ME Award
        • Zero Emissions Award
      • International Collaborations
        • Belgium/Flanders
        • Germany
        • France
        • Italy/South Tyrol
        • Japan
        • Korea
        • Luxembourg
        • Poland
        • Switzerland
        • Slovenia
        • Taiwan
        • Tyrol–South Tyrol–Trentino
        • Czech Republic
        • Hungary
    • Step by Step
      • Find Funding
      • Submitting Your Application
      • International Peer Review
      • Funding Decisions
      • Carrying out Your Project
      • Closing Your Project
      • Further Information
        • Integrity and Ethics
        • Inclusion
        • Applying from Abroad
        • Personnel Costs
        • PROFI
        • Final Project Reports
        • Final Project Report Survey
    • FAQ
      • Project Phase PROFI
      • Project Phase Ad Personam
      • Expiring Programs
        • Elise Richter and Elise Richter PEEK
        • FWF START Awards
  • Go to overview page About Us

    • Mission Statement
    • FWF Video
    • Values
    • Facts and Figures
    • Annual Report
    • What We Do
      • Research Funding
        • Matching Funds Initiative
      • International Collaborations
      • Studies and Publications
      • Equal Opportunities and Diversity
        • Objectives and Principles
        • Measures
        • Creating Awareness of Bias in the Review Process
        • Terms and Definitions
        • Your Career in Cutting-Edge Research
      • Open Science
        • Open-Access Policy
          • Open-Access Policy for Peer-Reviewed Publications
          • Open-Access Policy for Peer-Reviewed Book Publications
          • Open-Access Policy for Research Data
        • Research Data Management
        • Citizen Science
        • Open Science Infrastructures
        • Open Science Funding
      • Evaluations and Quality Assurance
      • Academic Integrity
      • Science Communication
      • Philanthropy
      • Sustainability
    • History
    • Legal Basis
    • Organization
      • Executive Bodies
        • Executive Board
        • Supervisory Board
        • Assembly of Delegates
        • Scientific Board
        • Juries
      • FWF Office
    • Jobs at FWF
  • Go to overview page News

    • News
    • Press
      • Logos
    • Calendar
      • Post an Event
      • FWF Informational Events
    • Job Openings
      • Enter Job Opening
    • Newsletter
  • Discovering
    what
    matters.

    FWF-Newsletter Press-Newsletter Calendar-Newsletter Job-Newsletter scilog-Newsletter

    SOCIAL MEDIA

    • LinkedIn, external URL, opens in a new window
    • , external URL, opens in a new window
    • Facebook, external URL, opens in a new window
    • Instagram, external URL, opens in a new window
    • YouTube, external URL, opens in a new window

    SCILOG

    • Scilog — The science magazine of the Austrian Science Fund (FWF)
  • elane login, external URL, opens in a new window
  • Scilog external URL, opens in a new window
  • de Wechsle zu Deutsch

  

Compiler-Support for Timing Analysis (COSTA)

Compiler-Support for Timing Analysis (COSTA)

Raimund Kirner (ORCID: )
  • Grant DOI 10.55776/P18925
  • Funding program Principal Investigator Projects
  • Status ended
  • Start July 1, 2006
  • End May 31, 2010
  • Funding amount € 263,811
  • Project website

Disciplines

Computer Sciences (100%)

Keywords

    Worst-Case Execution Time Analysis Wcet, Flow Facts Transformation, Compilation Techniques, Timing Anaomalies, Execution-Time Measurements

Abstract Final report

The COSTA project is concerned with worst-case execution time (WCET) analysis of embedded systems, focusing in particular on developing techniques for compilers to support WCET analysis. A compiler has detailed knowledge about a program and the particular transformations applied to it, which can be used to improve the usability of WCET analysis and the precision of the calculated WCET bound. To achieve this, we focus on two main contributions: 1) the flow facts transformation to support WCET analysis for optimized code and 2) the timing-anomalies aware code generation that makes code more predictable. To calculate the WCET, information describing the feasible paths of a program is needed. We assume that this information - also called "flow facts" - has been already collected by automatic calculations or from manual code annotations. It is preferable to collect these flow facts at high-level program representations like the source code: automatic calculation can use more precise information about the program and in case of manual code annotations it is more convenient doing it at the same level where the program is developed. However, to get precise results for a specific processor, the WCET analysis itself has to be done at object code level. Within COSTA we aim to develop a flow facts transformation framework that keeps the flow facts collected at source-code level consistent in case the compiler performs any code transformations during compilation. As previous work has shown, this update of flow facts cannot be done without the help of the compiler. Beside the flow facts, also the execution time of instructions has to be known to finally calculate the WCET. As complex processors with features like pipelines or caches have a context-dependent instruction timing, it is challenging to calculate the instruction timing. Effects like the so-called Timing Anomalies may occur, where in the extreme case a small local change in the instruction timing will result into an unbounded effect on the overall execution time. Therefore, as a further improvement of compiler support for WCET analysis we will develop a code generation module for the compiler backend that performs instruction scheduling to avoid the potential occurrence of timing anomalies. To achieve this, we will investigate the mechanisms that can lead to such unbounded timing effects and develop a formal specification mechanism for such effects. Compilers providing such support of WCET analysis will help to improve the precision of the analysis and to increase the industrial acceptance of WCET analysis techniques.

Embedded systems have become a quite important part of our daily life. They control a lot of technical processes around us, most of the time even without our awareness. And in many cases even our lives rely on the correct operation of those computer systems, in which case we have to ensure to our best knowledge that they are dependable. For dependable embedded systems, an important factor is to ensure that they fulfill the temporal requirements of their controlled technical processes. A correct result at the wrong time may still lead to catastrophic consequences. Zooming into the internals of a computer system, fulfilling the real-time requirements can be tracked down to the requirement that the execution times of individual software tasks are within their maximal allocated time budget, called deadline. Thus the challenge for a system developer is to ensure that the worst-case execution time (WCET) is below its allowed limit, which is actually a quite complex task, especially in face of the current complexity of software programs and processors. The COSTA project addresses the tool-support for WCET analysis, helping to make WCET analysis simpler and more precise, and thus making the embedded systems trustworthier. WCET analysis needs a description of the possible control flow of a program to derive a precise WCET bound. Such a control-flow description is easier to derive at source-code level than at machine- code level. Within COSTA we developed a technique to automatically transform these control-flow descriptions from source-code level to machine-code level. The strength of this approach is that it works correctly even if the compiler applies a lot of code optimizations that may change the control flow dramatically. As a further improvement, the COSTA project addressed the issue of generating code that is easier to analyze, making WCET analysis faster and more precise for complex processors that show so-called timing anomalies. As the name "timing anomalies" suggests, this is about rather unwanted timing behavior, where a hardware state showing a local execution time of a code fragment being smaller than the local WCET can still lead to the overall WCET of the whole program. This means that in case of timing anomalies the WCET analysis tool cannot apply some periodic filtering of system states to reduce the number of states to be considered for the WCET bound. The code generation techniques developed in COSTA allow to ensure the absence of such timing anomalies for the generated machine code when executed on the target processor.

Research institution(s)
  • Technische Universität Wien - 63%
  • Technische Universität Wien - 37%
Project participants
  • Jens Knoop, Technische Universität Wien , associated research partner

Research Output

  • 31 Citations
  • 3 Publications
Publications
  • 2010
    Title Beyond loop bounds: comparing annotation languages for worst-case execution time analysis
    DOI 10.1007/s10270-010-0161-0
    Type Journal Article
    Author Kirner R
    Journal Software & Systems Modeling
    Pages 411-437
    Link Publication
  • 2009
    Title Precise Worst-Case Execution Time Analysis for Processors with Timing Anomalies
    DOI 10.1109/ecrts.2009.8
    Type Conference Proceeding Abstract
    Author Kirner R
    Pages 119-128
    Link Publication
  • 2010
    Title Avoiding Timing Anomalies using Code Transformations
    DOI 10.1109/isorc.2010.27
    Type Conference Proceeding Abstract
    Author Kadlec A
    Pages 123-132
    Link Publication

Discovering
what
matters.

Newsletter

FWF-Newsletter Press-Newsletter Calendar-Newsletter Job-Newsletter scilog-Newsletter

Contact

Austrian Science Fund (FWF)
Georg-Coch-Platz 2
(Entrance Wiesingerstraße 4)
1010 Vienna

office(at)fwf.ac.at
+43 1 505 67 40

General information

  • Job Openings
  • Jobs at FWF
  • Press
  • Philanthropy
  • scilog
  • FWF Office
  • Social Media Directory
  • LinkedIn, external URL, opens in a new window
  • , external URL, opens in a new window
  • Facebook, external URL, opens in a new window
  • Instagram, external URL, opens in a new window
  • YouTube, external URL, opens in a new window
  • Cookies
  • Whistleblowing/Complaints Management
  • Accessibility Statement
  • Data Protection
  • Acknowledgements
  • IFG-Form
  • Social Media Directory
  • © Österreichischer Wissenschaftsfonds FWF
© Österreichischer Wissenschaftsfonds FWF