[C++-sig] profiling question
Ralf W. Grosse-Kunstleve
rwgk at yahoo.com
Thu Jul 25 00:28:48 CEST 2002
I have a Python script that uses Boost.Python bound C++ code. The script is
quite complex and significant amounts of time are spent in both Python and C++
code. I am considering to push more code into C++ for better runtime
performance. However, first I'd like to get a good estimate of the performance
gain that I can expect. So I'd like to know what fraction of the total time is
spent in Python. Unfortunately, the Python profiler is not aware of calls into
C++ and simply adds the time spent in C++ to the total for the enclosing
function. Is there something else that I could use? -- I am working with Win2K,
Linux and other Unixes.
Thanks in advance for any suggestions!
Do You Yahoo!?
Yahoo! Health - Feel better, live better
More information about the Cplusplus-sig