Profile with gperftools

SUMMARY From the last two articles(profile with gprof, profile with oprofile), you may know some experiences of profile with C/C++ program. So let’s take a look at a new tool from google, called “gperftools“, full name is “Google performance tools”. What are the differences? We know gprof and oprofile, but why gperftools? Ok, take it easy, easy… … Read more

Profile with oprofile

SUMMARY After my previous article of how to profile a program with gprof, I think many guys has recognize the importance of profile. Today the new blog for introducing how to profile a program with oprofile. Why oprofile Many guys may asked why oprofile? There is gprof we can use. Ok, cool down, I’ll take a … Read more

Categories Uncategorized

Profile with gprof

SUMMARY “Profile” is a familiar word for us, especially in C/C++ program. So there are some ways to profile a C/C++ program, such as CodeViz, doxygen, gprof, oprofile and so on. These can be separated in two categories: Static – CodeViz, doxygen … dynamic – gprof, oprofile … When you need to profile? Usually, we needn’t care about performance, … Read more