It should be the same as for any program.... $ program-compiled-with-pg $ gprof /path/to/program-compiled-with-pg
you'll need to make sure that python is not only *compiled* with -pg but that the *link line* contains -pg as well. That's a common "gotcha" when it comes to profiling. Jeff
pgpQyzwYpYrtn.pgp
Description: PGP signature
-- http://mail.python.org/mailman/listinfo/python-list