arrow
返回

WCET optimization strategy based on source code refactoring

delete2017-11-22
delete1
PRE
AI
M
Meng, Fanqi
苏
苏小红 (Xiaohong Su) *
DOI:10.1007/s10586-017-1369-3delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
For safety-critical real-time software, if worst-case execution time (WCET) violates a time constraint, it is considered having a timeliness defect. To fix the defect early with lower cost, a WCET optimization strategy is proposed based on source code refactoring. The strategy guides programmers to search refactoring opportunities in the correct positions and perform refactorings by a reasonable sequence. To this end, the worst-case execution path (WCEP) of a target program is firstly extracted from its control flow graph. Then the WCEP is mapped onto source code by the back-annotation technique. An abstract syntax tree-based invariant path identification algorithm is developed for recognizing the invariant paths from the source-level WCEP. According to the invariant paths and loop statements, the source code is divided into four optimization regions with different priorities. Thus the searching scopes are reduced, and invalid refactorings are avoided. On the basis, the refactoring which has the lowest cost in the same region is performed first. To support the strategy, a cost model of source code refactoring is designed. It mainly considers adverse effects of refactorings on the maintainability of source code. The experimental results showed that the optimization strategy reduced WCET effectively and maximally kept the maintainability. Therefore it is more suitable for WCET optimization in an early programming phase. It is helpful to fix the defects early and then guarantee the timeliness safety of the software.
Keyword:
Cyber-physical system
Software safety
Code refactoring
Performance optimization
Optimization strategy
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

Impermanent identifiers: Enhanced source code comprehension and refactoring非永久标识符: 增强的源代码理解和重构
err2024-10-01
err1
errOAAI
errGuerra, Eduardo Martins; Ivo, Andre A. S.; Pereira, Fernando O.; Robbes, Romain; Janes, Andrea; Silveira, Fabio Fagundes
err分享
err收藏
Why Developers Refactor Source Code: A Mining-based Study为什么开发人员重构源代码: 基于挖掘的研究
err2020-09-26
err34
errOAAI
errPantiuchina, Jevgenija; Zampetti, Fiorella; Scalabrino, Simone; Piantadosi, Valentina; Oliveto, Rocco; Bavota, Gabriele; Di Penta, Massimiliano
err分享
err收藏

期刊

C
Cluster Computing-The Journal of Networks Software Tools and Applications
IF:
4.1
论文数:
5.2K
被引数:
9.7K

机构

哈尔滨工业大学 封面图
哈尔滨工业大学
学者数:
1.1W
论文数: 3.1K
被引数: 5.7W
引用论文

引用论文

Mixed Electronic-Oxide Ionic Conductivity and Oxygen Permeating Property in Ni Doped LaGaO3 Perovskite Oxide
err2003-12-01
err0
PREAI
errHiroshi Arikawa; Takashi Yamada; Tatsumi Ishihara; Hiroyasu Nishiguchi; Yusaku Takita
err分享
err收藏
Fast, Interactive Worst-Case Execution Time Analysis With Back-Annotation
err2012-05-01
err14
errOAAI
errHarmon, Trevor; Schoeberl, Martin; Kirner, Raimund; Klefstad, Raymond; Kim, Kwang H.; Lowry, Michael R.
err分享
err收藏
Evidence of Leaky Protection Following COVID-19 Vaccination and SARS-CoV-2 Infection in an Incarcerated Population
err
IF0
err2023-02-23
err0
errOAAI
errMargaret L Lind; Murilo Dorion; Amy J Houde; Mary Lansing; Sarah Lapidus; Russell Thomas; Inci Yildirim; Saad B. Omer; Wade L. Schulz; Jason R. Andrews; Matt DT Hitchings; Byron S. Kennedy; Robert P. Richeson; Derek AT Cummings; Albert I Ko
err分享
err收藏
Optimizing Intracochlear Electrical Stimulation to Suppress Tinnitus
err2015-01-01
err0
PREAI
errRemo A. G. J. Arts; Erwin L. J. George; Michelene N. Chenault; Robert J. Stokroos
err分享
err收藏
没有更多内容