期刊文献+

一种快速程序最坏执行时间分析方法研究 被引量:1

Study on fast program worst-case execution time estimation
下载PDF
导出
摘要 给出一种带有路径冲突检测的程序最坏情况执行时间估计方法,这种方法首先检测程序中存在的分支约束,然后将程序中存在的分支约束信息转化为程序流程控制图(CFG图)中结点之间的语义冲突,并按照结点对的形式保存在相应的冲突数组里,在接下来的WCET计算阶段通过边搜索程序执行路径边检测冲突数组里保存的已有的冲突关系以便在搜索路径的同时排除非可行执行路径,最终在可行执行路径集中选择具有最大执行时间的执行路径。与以往的方法相比,在保持估计精度的前提下,本文的方法避免了穷举所有执行路径带来的复杂度,提高了搜索的效率。实验结果表明本文方法对于语句间语义依赖关系比较强的实时程序能够快速且有效地给出估计结果。 A new program worst-case execution time estimation method with path conflict detection is proposed.Firstly,the method pre-computes program branch constraints,then converts these branch constraints to semantic conflicts between node-pair of Control Flow Graph(CFG) and saves these semantic conflicts into conflicts array of corresponding program in order to exclude impossible paths when searching path and improve searching path efficiency.The method finally selects path which has the maximum execution time from possible paths collection.Compared with some other former methods,this method can avoid high cost of all path enumeration and improve search efficiency while holding the same estimation precision. The experimental results show that the proposed method can efficiently and quickly give WCET estimation for high seman-tic dependency real-time programs.
出处 《计算机工程与应用》 CSCD 北大核心 2010年第21期69-71,96,共4页 Computer Engineering and Applications
基金 国家自然科学基金No.60703101~~
关键词 最坏情况执行时间 冲突检测 实时软件 Worst-Case Execution Time(WCET) conflict detection real-time software
  • 相关文献

参考文献7

  • 1吴国伟,姚琳.一种嵌入式软件WCET估计新方法[J].大连理工大学学报,2004,44(6):912-915. 被引量:4
  • 2Healy C, Whalley D.Automatic detection and exploitation of branch constraints for timing analysis[J].IEEE Trans on Soft- ware Engineering,2003,28(8) :763-781.
  • 3Li Y S.Efficient microarchitecture modeling and path analysis for real-time software[C]//Proceedings of the 16th IEEE Real-Time Systems Symposium, Pisa, Italy, 2002: 298-307.
  • 4Gustafsson E J.Deriving annotations for tight calculation of execution time[C]//Proceedings of European Conference on Parallel Processing, Lyon, France, 2003 : 1298-1307.
  • 5Wilhelm R, Engblom J,Ermedahl A, et al.The worst case execution time problem-overview of methods and survey of tools[C]// ACM Transactions on Embedded Computing Systems, 2007:45-60.
  • 6Lundqvist T, Stenstrom P.Integrating path and timing analysis using instruction-level simulation techniques[C]//Proceedings of ACM SIGPLAN Workshop on Languages, Compilers, and Tools for Embedded Systems,New York,USA,2000:1-15.
  • 7Wu Guo-wei, Yao Lin.A new WCET estimation algorithm based on instruction cache and prefetching combined model[C]//LNCS 3605,2005 : 557-562.

二级参考文献7

  • 1LIU Jyh-chan,LEE Huang-ju. Deterministic upperbounds of worst-case execution times of cached programs [A]. Proceedings of the 15th IEEE Real-Time Systems Symposium [C]. Hamburg: IEEE, 1994. 182-191.
  • 2LIM Sung-soo, YOUNG H B, JANG Gyu-tao. An accurate worst case timing analysis technique for RISC processors [A]. Proceedings of the 15th IEEE Real-Time Systems Symposium [C]. Hamburg: IEEE, 1994. 97-108.
  • 3SHAW A C. Reasoning about time in higher-level language software [J]. IEEE Trans on Software Eng, 1989,15(7):875-889.
  • 4ARNOLD R. Bounding worst-case instruction cache performance [A]. Proceedings of the 15th IEEE Real-Time Systems Symposium [C]. Hamburg: IEEE, 1994. 172-181.
  • 5LI Y S, MALIK Y S, WOLFE A. Cache modeling for real-time software beyond direct mapped instruction caches [A]. Proceedings of the 16th IEEE Real-Time Systems Symposium [C]. London: IEEE, 1996. 856-859.
  • 6BAMMI J. Software performance estimation strategies in a system-level design tool [A]. Proccedings of CODES [C]. New York: [s n], 2000. 376-385.
  • 7BRANDOLESE C. Source-level execution time estimation of C programs [A]. Proccedings of CODES [C]. New York: [s n], 2001.256-259.

共引文献3

同被引文献9

引证文献1

二级引证文献5

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部