Could Someone kindly tell me how can I profile single lines or blocks of code of a program in C with GNU profiler?
I used gprof ./a.out gmon.out
which gives me flat profile and Call graph. However, I would like to see lines that are more frequently accessed.
Thanks,