Context-Sensitive Timing Simulation of Binary Embedded Software

被引:3
|
作者
Ottlik, Sebastian [1 ]
Stattelmann, Stefan [2 ]
Viehl, Alexander [1 ]
Rosenstiel, Wolfgang [1 ,3 ]
Bringmann, Oliver [1 ,3 ]
机构
[1] FZI Res Ctr Informat Technol, D-76131 Karlsruhe, Germany
[2] ABB Corp Res, Res Area Software, D-68526 Ladenburg, Germany
[3] Univ Tubingen, D-72076 Tubingen, Germany
关键词
Software Timing Simulation; Binary Level Simulation; Instruction Set Simulation; System Level Design; Virtual Prototyping;
D O I
10.1145/2656106.2656117
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We present an approach to accurately simulate the temporal behavior of binary embedded software based on timing data generated using static analysis. As the timing of an instruction sequence is significantly influenced by the microarchitecture state prior to its execution, which highly depends on the preceding control flow, a sequence must be separately considered for different control flow paths instead of estimating the influence of basic blocks or single instructions in isolation. We handle the thereby arising issue of an excessive or even infinite number of different paths by considering different execution contexts instead of control flow paths. Related approaches using context-sensitive cycle counts during simulation are limited to simulating the control flow that could be considered during analysis. We eliminate this limitation by selecting contexts dynamically, picking a suitable one when no predetermined choice is available, thereby enabling a context-sensitive simulation of unmodified binary code of concurrent programs, including asynchronous events such as interrupts. In contrast to other approximate binary simulation techniques, estimates are conservative, yet tight, making our approach reliable when evaluating performance goals. For a multi-threaded application the simulation deviates only by 0.24% from hardware measurements while the average overhead is only 50% compared to a purely functional simulation.
引用
收藏
页数:10
相关论文
共 50 条
  • [21] Context-sensitive rewriting strategies
    Lucas, S
    INFORMATION AND COMPUTATION, 2002, 178 (01) : 294 - 343
  • [22] Termination of context-sensitive rewriting
    Zantema, H
    REWRITING TECHNIQUES AND APPLICATIONS, 1997, 1232 : 172 - 186
  • [23] Context-sensitive construction in Kentucky
    Hancher, D
    Goodrum, P
    Pigman, J
    Hartman, D
    Mettille, J
    CONSTRUCTION 2003: MATERIALS AND CONSTRUCTION, 2003, (1861): : 125 - 131
  • [24] Completeness of context-sensitive rewriting
    Lucas, Salvador
    INFORMATION PROCESSING LETTERS, 2015, 115 (02) : 87 - 92
  • [25] SPLITTING A CONTEXT-SENSITIVE SET
    OWINGS, JC
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1975, 10 (01) : 83 - 87
  • [26] Context-sensitive valuation and learning
    Hunter, Lindsay E.
    Daw, Nathaniel D.
    CURRENT OPINION IN BEHAVIORAL SCIENCES, 2021, 41 : 122 - 127
  • [27] Towards context-sensitive intelligence
    Mügge, H
    Rho, T
    Winandy, M
    Won, M
    Cremers, AB
    Costanza, P
    Englert, R
    SOFTWARE ARCHITECTURE, PROCEEDINGS, 2005, 3527 : 231 - 238
  • [28] LES LANGAGES CONTEXT-SENSITIVE
    FRIANT, J
    ANNALES DE L INSTITUT HENRI POINCARE SECTION B-CALCUL DES PROBABILITES ET STATISTIQUE, 1967, 3 (01): : 35 - &
  • [29] A hallmark of context-sensitive design
    Moler, Steve
    Public Roads, 2002, 65 (06)
  • [30] Context-sensitive state estimation
    Steinberg, AN
    FUSION 2003: PROCEEDINGS OF THE SIXTH INTERNATIONAL CONFERENCE OF INFORMATION FUSION, VOLS 1 AND 2, 2003, : 881 - 888