profiling a C++ python extension

brickenstein at brickenstein at
Thu Jul 12 12:34:44 CEST 2007

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,

More information about the Python-list mailing list