PyProfGen

Introduction

PyProfGen generates documentation of the profile information. It interprets the output of gprof(1) into a nice HTML files.

Screenshots

Since PyProfGen generates HTML output, there's no screenshot except the online sample. See the output here.

Documentation

Installation

To install pyprofgen version 0.2, check the required softwares are present, and do the following steps:

  $ tar -xzf pyprofgen-0.2.tar.gz
  $ cd pyprofgen-0.2
  $ make PREFIX="/usr/local" all
  $ make PREFIX="/usr/local" install
  $ _

Usage

  $ ls
  demo.c
  $ gcc -g -pg -o demo demo.c -lc_p
  $ ./demo
  $ ls -F
  demo*   demo.c   gmon.out
  $ pyprofgen --help
  USAGE: pyprofgen [OPTION...] executable [gmon.out]
  Generate HTML documents from gmon.out

    -d DIR,               Set the output directory to DIR,
        --directory=DIR     (default: doc)
    -q, --quiet           Quite mode, (default: verbose mode)
    -h, --help            Show help message
    -v, --version         Print version information

  Report bugs to <cinsky at gmail.com>.

  $ pyprofgen demo gmon.out
  ...
  $ ls -F
  demo*   demo.c   gmon.out   prof/
  $ elinks prof/html/index.html	# use your favorite browsers.
  $ _

Requirements

As the name implies, PyProfGen uses Python for interpreting the output of gprof(1). The two testing environments was configured like this:

Downloads

PyProfGen is in infant stage yet. You can download one of following snapshots, otherwise use my public CVS repository.

You can try to access the latest, unstable version of this software by acessing my anonymous CVS. Press Return to pass the authentification. (I suggest you try the CVS version always. The snapshot is not quite good as you expected.)

The MODULE-NAME is "pyprofgen", and you can see in this page how to connect to my CVS server.


Any Browser Campaign Valid CSS! Valid XHTML 1.0!
Emacs Powered Graphics by GIMP Vim Powered

$Id: index.html,v 1.8 2008/04/27 14:22:13 cinsk Exp $