基于动态插桩的程序分析工具的性能改进  被引量:2

Performance improvement of program analysis tools based on dynamic instrumentation

在线阅读下载全文

作  者:代声馨[1] 洪玫[1] 郭鑫宇[1] 张鹏[1] 祁琳莹[1] 

机构地区:[1]四川大学计算机学院,成都610065

出  处:《计算机应用研究》2013年第7期2087-2090,共4页Application Research of Computers

摘  要:基于动态插桩的工具被广泛应用于程序分析中,但该类工具都面临着严重的性能问题。这类工具的性能开销主要由两部分组成,即插桩引擎的开销和用户定义的分析程序的开销。为降低用户定义的分析工具的开销,首先分析了基于动态插桩的工具的性能开销的组成,并通过实验分析了造成性能开销的几点原因及其对工具的性能影响;根据分析结论提出了使用离线分析方式来优化工具性能,最后通过并行数据收集来进一步提升工具性能。使用该方法能减少分析程序5%~15%的CPU占用时间。Tools based on dynamic instrumentation are widely used in program analysis and software testing.However,these tools suffer from performance problems.The overhead of such tools consist of the overhead of dynamic instrumentation and the cost of user-defined analysis tools.In order to reduce the cost of user-defined analysis tools,this paper first analysed the compose of the overhead generated by these tools,then discussed some reason for these overhead and their influence on the tools with the help of experiment.According to the result of the analysis,it presented offline analysis to reduce the overhead,finally employed parallelized data collection to get the better performance.With the provided method,it reduces 5%~15% CPU time occupied by the analysis tools.

关 键 词:动态插桩 离线分析 并行数据收集 性能优化 程序分析 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象