首页 | 本学科首页   官方微博 | 高级检索  
     

基于C++及其扩展语言的动态剖析
引用本文:苏铭,王华,王清贤,张慧成.基于C++及其扩展语言的动态剖析[J].计算机工程与应用,2001,37(19):170-174.
作者姓名:苏铭  王华  王清贤  张慧成
作者单位:解放军信息工程大学计算机科学系
摘    要:程序优化是提高程序运行效率的重要步骤,程序剖析是程序优化的第一步。对于串行语言,程序剖析代码是由编译器通过一个命令行开关自动插入。但是,大部分并行语言编译器都不具有这个功能。该文以并行C++语言的可移植的动态剖析程序(profiler)为例,从两方面对问题进行了论述:首先给出实现可移植动态剖析程序的一般方法;然后分析一个用于pC++插桩(Instrumentation)工具。

关 键 词:函数剖析  性能分析  程序插桩
文章编号:1002-8331-(2001)19-0170-05
修稿时间:2000年9月1日

A Dynamic Profiler for C++ and C++ Extension Languages
Su Ming,Wang Hua,Wang Qingxian,Zhang Huicheng.A Dynamic Profiler for C++ and C++ Extension Languages[J].Computer Engineering and Applications,2001,37(19):170-174.
Authors:Su Ming  Wang Hua  Wang Qingxian  Zhang Huicheng
Abstract:Program profiling is the first step in program tuning.For sequential languages,the necessary profiling code is automatically inserted by the compiler via a command line switch.however,not all compilers for parallel languages which are based on c++.The first part describes the general approach which allows portable and dynamic program profiling.The second part describes an instrumentation tool for PC++ which we implemented inserting the necessary profiling code in the program source.
Keywords:profiling  performance analysis  program instrumentation
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号