2002 · 168 citations · 15 references
ComputingComputer EngineeringComputer ScienceCompilersComputer ArchitectureOperating SystemsCache Behavior AnalysisCachingCaching StrategiesControl-flow AnalysisData-flow AnalysisWorst-case Execution Time AnalysisCache Miss PenaltyExecution Time AnalysisExecution Time EstimationInstruction Cache BehaviorInstruction PipeliningPipeline AnalysisPipeline HazardsPipelining
Recently designed machines contain pipelines and caches. While both features provide significant performance advantages, they also pose problems for predicting execution time of code segments in real-time systems. Pipeline hazards may result in multicycle delays. Instruction or data memory references may not be found in cache and these misses typically require several cycles to resolve. Whether an instruction will stall due to a pipeline hazard or a cache miss depends on the dynamic sequence of previous instructions executed and memory references performed. Furthermore, these penalties are not independent since delays due to pipeline stalls and cache miss penalties may overlap. This paper describes an approach for bounding the worst-case performance of large code segments on machines that exploit both pipelining and instruction caching. First, a method is used to analyze a program's control flow to statically categorize the caching behavior of each instruction. Next, these categorizations are used in the pipeline analysis of sequences of instructions representing paths within the program. A timing analyzer uses the pipeline path analysis to estimate the worst-case execution performance of each loop and function in the program. Finally, a graphical user interface is invoked that allows a user to request timing predictions on portions of the program.
15
Calculating the maximum execution time of real-time programs
Peter Puschner, C. Koza · Real-Time Systems · 1989 · 582 citations
* Bounding Worst-case Instruction Cache Performance
Robert D. Arnold, Frank Mueller, David Whalley et al. · 1994 · 189 citations
A portable global optimizer and linker
Manuel E. Benitez, Jack W. Davidson · ACM SIGPLAN Notices · 1988 · 178 citations · Full text