• DocumentCode
    1560595
  • Title

    Writing temporally predictable code

  • Author

    Puschner, Peter ; Burns, Alan

  • Author_Institution
    Inst. fur Technische Informatik, Technische Univ. Wien, Vienna, Austria
  • fYear
    2002
  • fDate
    6/24/1905 12:00:00 AM
  • Firstpage
    85
  • Lastpage
    91
  • Abstract
    The Worst-Case Execution-Time Analysis (WCET Analysis) of program code for modern processors is a highly complex tasks: First, it involves path analysis, to identify and describe the possible execution paths through the code. Second, it models the worst-case timing of possible paths on the target hardware, where the characterization of the timing of sophisticated hardware features (e.g., instruction pipelines, caches, parallel execution units) and their interferences are non-trivial. This paper presents a programming paradigm that takes the complexity from WCET analysis. Program code written according to this paradigm only has a single execution path. Writing single-path code makes path analysis and thus WCET analysis trivial. The WCET of the single path is obtained by executing the code (necessarily on that single path) and logging the duration of this execution. To demonstrate that the single-path approach provides a universal solution to the WCET-analysis problem, the paper shows how every, WCET-analyzable piece of code can be translated into single-path code
  • Keywords
    program diagnostics; real-time systems; WCET analysis; caches; execution paths; instruction pipelines; parallel execution units; path analysis; programming paradigm; temporally predictable code; worst-case execution-time analysis; worst-case timing; Automatic control; Computer science; Hardware; Information analysis; Interference; Pipelines; Real time systems; Time factors; Timing; Writing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Object-Oriented Real-Time Dependable Systems, 2002. (WORDS 2002). Proceedings of the Seventh International Workshop on
  • Conference_Location
    San Diego, CA
  • ISSN
    1530-1443
  • Print_ISBN
    0-7695-1576-2
  • Type

    conf

  • DOI
    10.1109/WORDS.2002.1000040
  • Filename
    1000040