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

Which kind of multiple threads program we need to write

SUMMARY I think about this for a long time, and I have read lots of programs, which contain single thread or multiple threads. In my  opinion, some of them are not very good, that is why I write this blog. SINGLE THREAD Single thread program is simple for us, there is no lock to care, … Read more

Categories Uncategorized