An accurate worst case timing analysis technique for RISC processors
- 1 January 1994
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
Abstract
An accurate and safe estimation of a task's worst case execution time (WCET) is crucial for reasoning about the timing properties of real-time systems. In RISC processors, the execution time of a program construct (e.g., a statement) is affected by various factors such as cache hits/misses and pipeline hazards, and these factors impose serious problems in analyzing the WCETs of tasks. To analyze the timing effects of RISC's pipelined execution and cache memory, this paper proposes extensions of the original timing schema (Shaw, 1989) where the timing information associated with each program construct is a simple time-bound. We associate with each program construct what we call a WCTA (Worst Case Timing Abstraction), which contains detailed timing information of every execution path that might be the worst case execution path of the program construct. This extension leads to a revised timing schema that is similar to the original timing schema except that concatenation and pruning operations on WCTAs are newly defined to replace the add and max operations on time-bounds in the original timing schema. Our revised timing schema accurately accounts for the timing effects of pipelined execution and cache memory not only within but also across program constructs. This paper also reports on preliminary results of WCET analyses for a pipelined processor. Our results show that up to 50% tighter WCET bounds can be obtained by using the revised timing schema.Keywords
This publication has 12 references indexed in Scilit:
- SMART (strategic memory allocation for real-time) cache designPublished by Institute of Electrical and Electronics Engineers (IEEE) ,2003
- Process dependent static cache partitioning for real-time systemsPublished by Institute of Electrical and Electronics Engineers (IEEE) ,2003
- A retargetable technique for predicting execution timePublished by Institute of Electrical and Electronics Engineers (IEEE) ,2003
- Timing analysis of superscalar processor programs using ACSRPublished by Institute of Electrical and Electronics Engineers (IEEE) ,2002
- Pipelined processors and worst case execution timesReal-Time Systems, 1993
- Experiments with a program timing tool based on source-level timing schemaPublished by Institute of Electrical and Electronics Engineers (IEEE) ,1990
- Calculating the maximum execution time of real-time programsReal-Time Systems, 1989
- Aspects of Cache Memory and Instruction Buffer PerformancePublished by Defense Technical Information Center (DTIC) ,1987
- Register allocation by priority-based coloringPublished by Association for Computing Machinery (ACM) ,1984
- A characterization of the minimum cycle mean in a digraphDiscrete Mathematics, 1978