Wednesday, August 4, 2021

Profile gcc code and produce a graphical tree

Obviously compile with profile, then use ''gprof'' and ''dot'':

''

gprof myprog.bin | gprof2dot.py -s | dot -Tpng -o profiler.png && gwenview profiler.png

''

No comments:

Post a Comment