|
计算机应用 2005
Software performance data sampling and analysis based on hardware performance counter
|
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.