The Road Not Taken: Estimating Path Execution Frequency Statically

ICSE(2009)

引用 66|浏览18
暂无评分
摘要
A variety of compilers, static analyses, and testing frameworks rely heavily on path frequency information. Uses for such information range from optimizing transformations to bug finding. Path frequencies art, typically obtained through profiling, but that approach is severely restricted: it requires running programs in an indicative environment, and on indicative test inputs.We present a descriptive statistical model of path frequency based on features that can be readily obtained from a program's source code. Our model is over 90% accurate with respect to several benchmarks, and is sufficient for selecting the 5% of paths that account for over half of a prograim's total runtime. We demonstrate our technique's robustness by measuring its performance as a static branch predictor finding it to be more accurate than. previous approaches on average. Finally, our qualitative analysis of the model provides insight into which source-level features indicate "hot paths."
更多
查看译文
关键词
program compilers,program debugging,program diagnostics,program testing,statistical analysis,bug finding,compilers,descriptive statistical model,hot paths,path execution frequency estimation,performance measurement,program source code,static analyses,static branch predictor,testing frameworks,
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要