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

Perf在龙芯2F上的设计与实现
引用本文:徐恒阳,安虹,刘玉,周伟.Perf在龙芯2F上的设计与实现[J].计算机工程,2011,37(19):236-238.
作者姓名:徐恒阳  安虹  刘玉  周伟
作者单位:1. 中国科学技术大学计算机科学与技术系,合肥,230027
2. 中国科学技术大学计算机科学与技术系,合肥230027;中国科学院计算技术研究所系统结构重点实验室,北京100080
基金项目:国家科技重大专项基金资助项目(2009ZX01036-001-002)
摘    要:在龙芯2F平台上设计并实现性能调优工具Perf。分析Perf的实现原理,针对龙芯修改Perf内核层中体系相关部分代码,设计硬件性能计数器的操作函数集和溢出中断处理函数。使用Perf分析矩阵相乘测试用例,结果表明Perf得到的采样结果接近理论值,与Oprofile相比,采样数据更精确。

关 键 词:性能计数器  龙芯2F平台  Perf工具  溢出中断  前端  后端
收稿时间:2011-03-21

Design and Implementation of Perf on Loongson 2F
XU Heng-yang,AN Hong,LIU Yu,ZHOU Wei.Design and Implementation of Perf on Loongson 2F[J].Computer Engineering,2011,37(19):236-238.
Authors:XU Heng-yang  AN Hong  LIU Yu  ZHOU Wei
Affiliation:1(1.School of Computer Science and Technology,University of Science and Technology of China,Hefei 230027,China;2.Key Laboratory of Computer System and Architecture,Chinese Academy of Sciences,Beijing 100080,China)
Abstract:This paper designs and implements Perf on Loongson 2F.Perf is a tuning tool on linux.It analyses the implementation of Perf,and modifies the codes related to hardware architecture.It designs functions to control the performance counter in Loongson 2F and handle the overflow interruptions.The results of matrix multiplication sampled by Perf are close to the theoretical values,and more accurate than these sampled by Oprofile.
Keywords:performance counter  Loongson 2F platform  Perf  overflow interrupt  front-end  back-end
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程》浏览原始摘要信息
点击此处可从《计算机工程》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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