profiling a C++ python extension

brickenstein at googlemail.com brickenstein at googlemail.com
Thu Jul 12 06:34:44 EDT 2007


Hi!
It doesn't suffice to compile the python interpreter with -pg, as the
module is loaded via dlopen.
I solved the problem for my case compiling an executable with embedded
python and the module itself.
I would wish, that there would be an easier way.
Best regards,
Michael




More information about the Python-list mailing list