计算机工程2011,Vol.37Issue(19):236-238,3.DOI:10.3969/j.issn.1000-3428.2011.19.078
Perf在龙芯2F上的设计与实现
Design and Implementation of Perf on Loongson 2F
摘要
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.关键词
性能计数器/龙芯2F平台/Perf工具/溢出中断/前端/后端Key words
performance counter/ Loongson 2F platform/ Perf/ overflow interrupt/ front-end/ back-end分类
信息技术与安全科学引用本文复制引用
徐恒阳,安虹,刘玉,周伟..Perf在龙芯2F上的设计与实现[J].计算机工程,2011,37(19):236-238,3.基金项目
国家科技重大专项基金资助项目(2009ZX01036-001-002) (2009ZX01036-001-002)