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

2006-01-26 Thread Christophe
Bo Peng a écrit : > Travis E. Oliphant wrote: > >> On Linux you can use oprofile (which is pretty nice and easy to use >> --- no recompiling. Just start the profiler, run your code, and stop >> the profiler). > > > Thank you very much for the tip. This is a great tool. > > The source of the

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

2006-01-25 Thread Bo Peng
Travis E. Oliphant wrote: > On Linux you can use oprofile (which is pretty nice and easy to use --- > no recompiling. Just start the profiler, run your code, and stop the > profiler). Thank you very much for the tip. This is a great tool. The source of the problem has been found: cache misses

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

2006-01-24 Thread Travis E. Oliphant
Bo Peng wrote: > 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++ f

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

2006-01-24 Thread Bo Peng
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 a