• DocumentCode
    2578570
  • Title

    Avoiding Timing Anomalies Using Code Transformations

  • Author

    Kadlec, Albrecht ; Kirner, Raimund ; Puschner, Peter

  • Author_Institution
    Inst. fur Tech. Inf., Tech. Univ. Wien, Vienna, Austria
  • fYear
    2010
  • fDate
    5-6 May 2010
  • Firstpage
    123
  • Lastpage
    132
  • Abstract
    Divide-and-conquer approaches to worst-case execution-time analysis (WCET analysis) pose a safety risk when applied to code for complex modern processors: Interferences between the hardware acceleration mechanisms of these processors lead to timing anomalies, i.e., a local timing change causes an either larger or inverse change of the global timing. This phenomenon may result in dangerous WCET underestimation. This paper presents intermediate results of our work on strategies for eliminating timing anomalies. These strategies are purely based on the modification of software, i.e., they do not require any changes to hardware. In an effort to eliminate the timing anomalies originating from the processor´s out-of-order instruction pipeline, we explored different methods of inserting instructions in the program code that render the dynamic instruction scheduler inoperative. We explain how the proposed strategies remove the timing anomalies caused by the pipeline. In the absence of working solutions for timing analysis for these complex processors, we chose portable metrics from compiler construction to assess the properties of our algorithms.
  • Keywords
    divide and conquer methods; program processors; safety-critical software; WCET underestimation; code transformations; complex modern processors; divide-and-conquer approaches; dynamic instruction scheduler; global timing; hardware acceleration mechanisms; timing anomalies avoidance; worst-case execution-time analysis; Acceleration; Dynamic scheduling; Hardware; Interference; Out of order; Pipelines; Processor scheduling; Risk analysis; Safety; Timing; code transformations; compilers; hard real-time; timing anomalies; worst case execution time (WCET); worst case execution time (WCET) analysis;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Object/Component/Service-Oriented Real-Time Distributed Computing (ISORC), 2010 13th IEEE International Symposium on
  • Conference_Location
    Carmona, Seville
  • ISSN
    1555-0885
  • Print_ISBN
    978-1-4244-7083-9
  • Electronic_ISBN
    1555-0885
  • Type

    conf

  • DOI
    10.1109/ISORC.2010.27
  • Filename
    5479566