gprof2dot.py

Software Screenshot:
gprof2dot.py
Software Details:
Version: 1.0
Upload Date: 3 Jun 15
Developer: Jose Fonseca
Distribution Type: Freeware
Downloads: 30

Rating: 4.0/5 (Total Votes: 2)

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] [file]

Options:

--version show program's version number and exit
-h, --help show this help message and exit
-o FILE, --output=FILE
output filename [stdout]
-n PERCENTAGE, --node-thres=PERCENTAGE
eliminate nodes below this threshold [default: 0.05]
-e PERCENTAGE, --edge-thres=PERCENTAGE
eliminate edges below this threshold [default: 0.01]
-c COLORMAP, --colormap=COLORMAP
color map: color, pink or gray [default: color]
-s, --strip strip function parameters, template parameters, and
const modifiers from demangled C++ function names
-w, --wrap wrap function names

What'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.

Similar Software

Other Software of Developer Jose Fonseca

DNS.py
DNS.py

2 Jun 15

xdot.py
xdot.py

20 Feb 15

Comments to gprof2dot.py

Comments not found
Add Comment
Turn on images!