KProf is a visual tool for developers, which displays the execution profiling output generated by code profilers.
The output of profilers being usually difficult to read (beyond the flat profile information), KProf presents the information in list- or tree-views that make the information very easy to understand.
Here are some key features of "KProf":
· Flat profile view displays all function / methods and their profiling information.
· Hierarchical profile view displays a tree for each function / method with the other functions / methods it calls as subelements.
· Object profile view, for C++ developers, groups the methods in a tree view by object name.
· Graph view is a graphical representation of the call-tree, requires GraphViz to work.
· Method view is a more detailed look at an individual method - cross referenced.
· Recursive functions carry a special icon to clearly show that they are recursive.
· Right-clicking a function or method displays a pop-up with the list of callers and called functions. You can directly go to one of these functions by selecting it in the pop-up menu.
· The flat profile view provides an additional filter edit box to filter the display and show only the functions or methods containing the text that you enter.
· Function parameters hiding if the function name is unique (i.e. no different signatures)
· C++ template abbreviation (template parameters can be hidden)
· Automatic generation of call-graph data for GraphViz and VCG, two popular graph image generators.
· Diff mode support to compare two profile results.
· To compile KProf, you need the KDE 3.x development libraries and the corresponding Qt package. KDE ships with all up-to-date Linux distributions and free BSD systems.
· It should also compile on commercial Unices like Solaris and HP-UX.
· Note that this requirement only refers to the libraries KProf needs.
· It is not necessary to use any part of KDE. KProf should run fine with any window manager or desktop environment.