gprof2dot.py 1.0

gprof2dot.py is a Python script to convert the output from gprof into a dot graph.
gprof2dot.py
  1 Screenshot
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.

last updated on:
June 30th, 2008, 6:53 GMT
price:
FREE!
homepage:
code.google.com
license type:
LGPL (GNU Lesser General Public License) 
developed by:
Jose Fonseca
category:
ROOT \ Programming \ Quality Assurance and Testing
gprof2dot.py
Download Button

In a hurry? Add it to your Download Basket!

user rating 22

3.2/5
 

0/5

Rate it!

Add your review!

SUBMIT