An accurate worst case timing analysis technique for RISC processors

Sung-Soo Lim, Young Hyun Bae, Gyu Tae Jang, Byung-Do Rhee, S. Min, C. Park, Heonshik Shin, Kunsoo Park, Chong-Sang Kim
{"title":"An accurate worst case timing analysis technique for RISC processors","authors":"Sung-Soo Lim, Young Hyun Bae, Gyu Tae Jang, Byung-Do Rhee, S. Min, C. Park, Heonshik Shin, Kunsoo Park, Chong-Sang Kim","doi":"10.1109/REAL.1994.342726","DOIUrl":null,"url":null,"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.<<ETX>>","PeriodicalId":374952,"journal":{"name":"1994 Proceedings Real-Time Systems Symposium","volume":"32 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1994-12-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"130","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"1994 Proceedings Real-Time Systems Symposium","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/REAL.1994.342726","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 130

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.<>
RISC处理器的精确最坏情况时序分析技术
对于任务的最坏情况执行时间(WCET)的准确和安全的估计对于实时系统的定时特性的推理是至关重要的。在RISC处理器中,程序结构(例如,语句)的执行时间受到各种因素的影响,例如缓存命中/未命中和管道危险,这些因素在分析任务的wcet时造成了严重的问题。为了分析RISC的流水线执行和缓存的计时效果,本文提出了原始计时模式的扩展(Shaw, 1989),其中与每个程序结构相关的计时信息是一个简单的时间界限。我们将每个程序结构称为WCTA(最坏情况时间抽象),它包含每个执行路径的详细时间信息,这些执行路径可能是程序结构的最坏情况执行路径。这个扩展导致了一个修订的定时模式,它类似于原始的定时模式,除了wcta上的连接和修剪操作是新定义的,以取代原始定时模式中时间界限上的add和max操作。我们修改后的计时模式不仅在程序结构内部,而且在程序结构之间准确地考虑了流水线执行和缓存内存的计时影响。本文还报道了流水线处理器的WCET分析的初步结果。我们的结果表明,使用改进的定时模式可以获得高达50%的更严格的WCET边界。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信