gprof2dot.py

gprof2dot.py is a Python script to convert the output from gprof into a dot graph.
Download

gprof2dot.py Ranking & Summary

Advertisement

  • Rating:
  • License:
  • LGPL
  • Price:
  • FREE
  • Publisher Name:
  • Jose Fonseca
  • Publisher web site:
  • http://code.google.com/p/jrfonseca/wiki/XDot

gprof2dot.py Tags


gprof2dot.py Description

gprof2dot.py is a Python script to convert the output from gprof into a dot graph. gprof2dot.py script can convert the output from gprof into a dot graph. It can correctly parse C++ template function names, allows you to prune nodes and edges below a certain threshold, can parse the special notation gprof uses for mutually recursive functions, uses color efficiently to draw attention to hot-spots, and works on any platform where GNU gprof, graphviz, and Python are available, i.e. virtually anywhere.Here are some key features of "gprof2dot py":· can correctly parse C++ template function names; · allows to prune nodes and edges below a certain threshold; · can parse the special notation gprof uses for mutually recursive functions; · uses color efficiently to draw attention to hot-spots; · works on any platform where GNU gprof, graphviz, and Python is available, i.e, virtually anywhere.Usage: gprof2dot.py Options: --version show program's version number and exit -h, --help show this help message and exit -o FILE, --output=FILE output filename -n PERCENTAGE, --node-thres=PERCENTAGE eliminate nodes below this threshold -e PERCENTAGE, --edge-thres=PERCENTAGE eliminate edges below this threshold -c COLORMAP, --colormap=COLORMAP color map: color, pink or gray -s, --strip strip function parameters, template parameters, and const modifiers from demangled C++ function names -w, --wrap wrap function namesWhat's New in This Release:· An heuristic to propagate time inside recursive function cycles was added, allowing one to visualize the critical time path for highly recursive code.· Several bugfixes and enhancements were made to oprofile output parsing.


gprof2dot.py Related Software