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 条
  • [41] Context-Sensitive Airway Management
    Hung, Orlando
    Murphy, Michael
    ANESTHESIA AND ANALGESIA, 2010, 110 (04): : 982 - 983
  • [42] Context-Sensitive Document Ranking
    Chang, Li-Jun
    Yu, Jeffrey Xu
    Qin, Lu
    JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2010, 25 (03) : 444 - 457
  • [43] Context-sensitive resource discovery
    Chen, GL
    Kotz, D
    PROCEEDINGS OF THE FIRST IEEE INTERNATIONAL CONFERENCE ON PERVASIVE COMPUTING AND COMMUNICATIONS (PERCOM 2003), 2003, : 243 - 252
  • [44] PARALLEL CONTEXT-SENSITIVE COMPILATION
    ASTHAGIRI, CR
    POTTER, JL
    SOFTWARE-PRACTICE & EXPERIENCE, 1994, 24 (09): : 801 - 822
  • [45] CONTEXT-SENSITIVE RULES IN PANINI
    STAAL, JF
    FOUNDATIONS OF LANGUAGE, 1965, 1 (01): : 63 - 72
  • [46] A context-sensitive search mechanism
    Hasan, O
    Atwood, ME
    Waters, J
    Char, BW
    INMIC 2004: 8th International Multitopic Conference, Proceedings, 2004, : 368 - 374
  • [47] Context-sensitive elemental theory
    Wagner, AR
    QUARTERLY JOURNAL OF EXPERIMENTAL PSYCHOLOGY SECTION B-COMPARATIVE AND PHYSIOLOGICAL PSYCHOLOGY, 2003, 56 (01): : 7 - 29
  • [48] Context-Sensitive Document Ranking
    Li-Jun Chang
    Jeffrey Xu Yu
    Lu Qin
    Journal of Computer Science and Technology, 2010, 25 : 444 - 457
  • [49] Context-sensitive dependency pairs
    Alarcon, Beatriz
    Gutierrez, Raul
    Lucas, Salvador
    INFORMATION AND COMPUTATION, 2010, 208 (08) : 922 - 968
  • [50] Context-Sensitive Middleware for real-time software in ubiquitous computing environments
    Yau, SS
    Karim, F
    FOURTH IEEE INTERNATIONAL SYMPOSIUM ON OBJECT-ORIENTED REAL-TIME DISTRIBUTED COMPUTING, PROCEEDINGS, 2001, : 163 - 170