首页 | 官方网站   微博 | 高级检索  
     

基于硬件性能计数器的软件性能数据采集与分析研究
引用本文:程克非,张聪,汪林林,张勤.基于硬件性能计数器的软件性能数据采集与分析研究[J].计算机应用,2005,25(10):2431-2433.
作者姓名:程克非  张聪  汪林林  张勤
作者单位:1. 重庆邮电学院,计算机科学与技术系,重庆,400065;重庆大学,计算机科学与技术学院,重庆,400030
2. 重庆交通学院,计算机科学与技术系,重庆,400074
3. 重庆大学,计算机科学与技术学院,重庆,400030
4. 重庆邮电学院,计算机科学与技术系,重庆,400065
摘    要:引入了基于CPU硬件性能计数器的性能数据采集和分析方法,从软件运行时刻的细粒度参数入手分析软件运行时刻的性能表现,从而更为准确地反映系统实际的动态运行状态。实验证明,这种方法对于需要详细掌握系统动态运行状态的应用能够提供非常有效的分析数据,同时也在一定程度上对编译器的性能优化给出了相关参考数据。

关 键 词:数据采集  硬件性能计数器  性能分析
文章编号:1001-9081(2005)10-2431-03
收稿时间:2005-04-13
修稿时间:2005-04-132005-06-27

Software performance data sampling and analysis based on hardware performance counter
CHENG Ke-fei,ZHANG Cong,WANG Lin-lin,ZHANG Qin.Software performance data sampling and analysis based on hardware performance counter[J].journal of Computer Applications,2005,25(10):2431-2433.
Authors:CHENG Ke-fei  ZHANG Cong  WANG Lin-lin  ZHANG Qin
Affiliation:1. Department of Computer Science and Technology, Chongqing University of Posts and Telecommunications, Chongqing 400065, China; 2. Institute of Compater Science and Technology, Chongqing University, Chongqing 400030, China; 3. Department of Computer Science and Technology, Chongqing Jiaotong University, Chongqing 400074, China
Abstract:High performance analysis is a major topic in science computation and large-scale software system.Using a better data sampling method will gain better performance analysis.Traditional performance data are sampled by operation system based on rough granularity source code level,such as process time,memory usage percentage,etc.These data cannot show up hypostasis of software and provide a better effective proposition for optimization.This paper introduced a much more precise sampling method using CPU hardware performance counters(CHPC) to provide CPU data like instruction cycles,cache misses,branch prediction,and so on,and given detail scene of software status.With CHPC data,more accuracy software performance analysis and compiler optimization can be reached.
Keywords:data sample  hardware performance counter  performance analysis
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机应用》浏览原始摘要信息
点击此处可从《计算机应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号