How to find hot spot in a C or C++ program? -
i want find hot spots in mibench benchmark suit programs. want find out variables , functions called during execution of program. i've searched free useful tool couldn't find want. there free tool purpose?
use gprof, can compile code -pg, such
gcc test.cpp -pg -o test ./test gprof -b -a -p -q test gmon.out then print stat info of code, read gprof documentation understand better.
also if want see detail of code, such cache miss rate or else that, can try tau.
Comments
Post a Comment