[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Profile gr python code using Oprofile and Kcacheg
Re: [Discuss-gnuradio] Profile gr python code using Oprofile and Kcachegrind
Thu, 30 Aug 2012 19:47:18 +0200
First of all I have to say that I am myself quite new to this topic -
these are more or less my first experiences with profiling.
I like Oprofile's many features allowing to analyze system load by
CPU/application/etc. Plus I found its manual quite
good and it does not slow execution down so much. Using Oprofile I can
still run my flowgraph with UHD and USRP attached without underruns what
is impossible with cachegrind.
After trying both tools I have to agree that Kcachegrind in fact is a very
convenient way to profile code. Especially the annotated source code that
can be viewed inside the GUI is great. But considering the real-time
aspect, both tools have its advantages in my opinion.
> Hi Tom,
> Thanks for your suggestion, my Kcachegrind works well now.
> But this method (explicitly call through python interpreter) doesn't work
> for Oprofile, I still can't find the session name "dial_tone" in the
> profiled data. BTW, if Kcachegrind works well with python application, why
> do you guys recommend Oprofile?
> Yang, Qing
> Information Engineering, CUHK
|[Prev in Thread]
||[Next in Thread]|
- Re: [Discuss-gnuradio] Profile gr python code using Oprofile and Kcachegrind,