检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]重庆邮电学院计算机系,重庆400065 [2]重庆交通学院计算机系,重庆400074 [3]重庆大学计算机学院,重庆400044
出 处:《计算机科学》2006年第4期292-294,F0003,共4页Computer Science
摘 要:进行精确的软件性能分析,需要在代码中插入测量和控制代码,并根据具体运行状态动态的检查多个不同的参数。但是,用静态类型的程序语言,如 C 语言等书写的代码,一经编译和链接,其处理逻辑即不可更改。因此,在无法获取源代码或者重新编译和重新启动代价较高的应用中,对软件进行动态性能分析非常困难。本文将介绍一种在软件运行时刻动态插入监控点的动态指令编译技术对软件进行监控,从而在上述情况下达到对软件的监控目的。这种方法是基于 DynInst API 和 PAPI 技术的。实验表明,这种方法在去掉了对源代码的依赖的情况下,仍然与在源代码级插入监控点的方法具有同等的采集效率,在很大程度上增强了基于硬件性能计数器方法的软件监控技术的应用范围,达到了较好的性能分析效果。In wish to do dynamic software performance analysis, many different qualities should be checked according to the running context, and survey and control instructions must insert into code dynamically. But the inner process logic of a program written by static type languages like C is stable and fixed after compiled and linked. So, when source code is not free to get and modify, or when rewriting and restarting a running program is not an option, it is difficult to do software performance analysis. A new dynamic instruments compiling technology is introduced here. It is based on the technology of Dyninst API and PAPI. Using dynamic instruments compiling, performance analysis is independent to source code, and only associates to running status and image of a program. This paper shows how to use dynamic instruments compiling and hardware performance counters to do dynamic software performance analysis.
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.7