4

I'm searching for a "good enough" gprof output visualizer. Kprof seems unmaintained.

Profiling is an important part of (speed sensitive) applications development, but I fail to find support on the major Linux IDEs.

Any suggestions ?

rodrigob
  • 2,891
  • 3
  • 30
  • 34
  • google-perftools cpu-profile with kcachegrind for visualization seems the way to go for me. http://google-perftools.googlecode.com http://kcachegrind.sourceforge.net/ – rodrigob Oct 26 '09 at 01:22
  • Related: https://stackoverflow.com/questions/2439060/is-it-possible-to-get-a-graphical-representation-of-gprof-results | https://stackoverflow.com/questions/7274095/view-gprof-output-in-kcachegrind – Ciro Santilli OurBigBook.com Mar 14 '20 at 06:00

2 Answers2

1

I recommend using KCachegrind to vizualize the logs given by oprofile.

Gunther Piez
  • 29,760
  • 6
  • 71
  • 103
  • It does appear, if you know what to look for, that KCachegrind can get line and instruction level inclusive costs. So they're getting there, and that's good. – Mike Dunlavey Oct 19 '09 at 12:38
0

Probably not what you're looking for, but for me, gprof with an editor with decent search does the job. Are you looking for in what case the top X functions are called so you can optimise them or do you want a nice call-graph of your application?

stefaanv
  • 14,072
  • 2
  • 31
  • 53
  • I would like a tool to inspect the call trees and how much time is spent on each call; preferably in a visual way. – rodrigob Sep 21 '12 at 07:21