一个基于硬件计数器的程序性能测试与分析工具  被引量:3

A Hardware Counter Based Tool for Application's Performance Measurement and Analysis

在线阅读下载全文

作  者:车永刚[1] 王正华[1] 李晓梅[2] 

机构地区:[1]国防科大并行与分布处理国家重点实验室,长沙410073 [2]怀柔装备技术指挥学院,北京101416

出  处:《计算机科学》2004年第1期170-174,共5页Computer Science

基  金:国家自然科学基金(69933030)

摘  要:在IntelP6系列处理器与Microsoft Windows NT平台上开发了一个工具软件PTracker,它利用处理器中的硬件性能计数器来获取程序性能数据,并结合机器体系结构参数对数据进行分析。它无需用户编程,与应用程序所使用的编程语言无关,使用很方便。它不仅能够通过性能计数器获得精确的性能参数,而且还能通过对测试得到的性能数据的分析,揭示程序高层次的性能特征,对程序性能评价与优化具有一定的指导作用。本文介绍了PTracker的技术背景、设计与系统实现,并给出了一个应用实例。This article introduces PTracker, a useful tool designed and implemented for Intel P6 processors running Microsoft Windows NT operating system. It utilizes hardware performance monitoring counters in modern processors to measure an application's performance data. Furthermore, it performs additional calculation to the measured data based on the target platform's architecture parameters and profiles. PTracker is convenient to use in that it requires no modification to the applications' source codes and is independent of the application's programming language. It not only captures the application's signatures, but also provides more informative performance characteristics of the application, which are helpful for the understanding and tuning of the application. A case of its application in program optimization is presented.

关 键 词:硬件计数器 处理器 程序性能 性能测试 数据分析 

分 类 号:TP311.56[自动化与计算机技术—计算机软件与理论] TP332.12[自动化与计算机技术—计算机科学与技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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