KCachegrind can show line by line information of cost spent in your program. This needs compilation with debug info enabled (Option -g), and access to the source. There is no dependence on a particular programming language.
In this screenshot, grouping "Class" is selected (this grouping is only usefull for C++). Visualisation in the "Trace Part Overview" is 'Partitioning'. You see the partitioning of the runtime dependent on the class of the functions executed.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4