Worst-Case Execution Time (WCET) is a key component for the verification of critical real-time applications. Yet, even the simplest microprocessors implement pipelines with concurrently-accessed resources, such as the memory bus shared by fetch and memory stages. Although their in-order pipelines are, by nature, very deterministic, the bus can cause out-of-order accesses to the memory and, therefore, timing anomalies: local timing effects that can have global effects but that cannot be easily composed to estimate the global WCET. To cope with this situation, WCET analyses have to generate important over-estimations in order to preserve safety of the computed times or have to explicitly track all possible executions. In the latter case, the presence of out-of-order behavior leads to a combinatorial blowup of the number of pipeline states for which efficient state abstractions are difficult to design. This paper proposes instead a compact and exact representation of the timings in the pipeline, using eXecution Decision Diagram (XDD) [1]. We show how XDD can be used to model pipeline states all along the execution paths by leveraging the algebraic properties of XDD. This computational model allows to compute the exact temporal behavior at control flow graph level and is amenable to efficiently and precisely support WCET calculation in presence of out-of-order bus accesses. This model is finally experimented on the TACLe benchmark suite and we observe good performance making this approach appropriate for industrial applications.
翻译:最差状况执行时间(WCET)是核实关键实时应用的关键组成部分。然而,即使是最简单的微处理器,也是关键实时应用的核查关键组成部分。甚至最简单的微处理器也使用同时获取的资源执行管道,例如通过取回和记忆阶段共享的记忆总线。尽管从本质上说,总线的管道具有非常确定性,但总线可以导致无法按部就班地获取记忆,因此,时间异常:当地时间效应可以产生全球效果,但不能轻易地组成全球环流总线。为了应对这一局面,WCET分析必须产生重要的过高估计,以便维护计算时间的安全,或者明确跟踪所有可能的处决。在后一种情况下,尽管总线内管道管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管,, 利用 利用 利用 利用 利用 校管管管管管管管管管管管管管管管管管管管管管管管管管管管管管管理的,,,, 进行着 进行着 进行着 进行着, 算定定定定定定定定的,,,,, 进行着 进行着 进行着 算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算 路的轨道路的轨道路, 路, 路, 度 算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算算