Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Profiling Python using gprof

Thread Tools

Profiling Python using gprof

Posts: n/a

I would like to profile a Python program using gprof.
I already rebuilt Python with CC="gcc -pg"
../configure. So, I should be able to use gprof. How do
I do that? Should I first run Python and then gprof?
What are the steps?

Thanks a lot!

Yahoo! Mail - PC Magazine Editors' Choice 2005
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
trying to use gprof, program compiled with -pg dies immediately Gumby C++ 0 03-21-2005 04:17 AM
profiling (gprof) problem Pasacco C Programming 1 03-19-2005 05:53 PM
gprof Jens Neubert C++ 1 04-28-2004 02:17 PM
gprof, -pg and rand() problem Andrew Bonello C++ 3 09-12-2003 11:27 PM
how I can use 'gprof'. I have got some problems. takashi C++ 1 08-29-2003 08:13 AM