Is there a way to profile underlying C++ code?

Bo Peng bpeng at rice.edu
Wed Jan 25 01:03:28 EST 2006


Dear list,

I have a C++-SWIG-wrapped python module. The running time for one of the 
functions is pretty unpredictable so I would like to profile it. 
However, the python profiler does not seem to enter the compiled module 
(.so file). Is there a way to profile the C++ functions?

Many thanks in advance.
Bo



More information about the Python-list mailing list