Re: [Discuss-gnuradio] Profiling GNU Radio flow graphs

2012-08-27 Thread Qing Yang
Hi there, Could anyone give me a concrete example on how to profile the gnuradio code in Python? My PC is Linux yangqing-825-PC03 2.6.35-32-generic-pae #67-Ubuntu SMP Mon Mar 5 21:23:19 UTC 2012 i686 GNU/Linux. I use Ubuntu 10.10 and Xeon W3530. I can use Kcachegrind to profile code written in C+

Re: [Discuss-gnuradio] Profiling GNU Radio flow graphs

2012-08-24 Thread Felix Wunsch
Hi, using oprofile is quite easy. Basically you configure your profiler, start it, start your application, kill it after some time, kill the profiler and look at the results. You don't have to set any special compiler flags. However, if you want to get annotated source, you need to compile wi

Re: [Discuss-gnuradio] Profiling GNU Radio flow graphs

2012-08-24 Thread Carles Fernandez
Hi Felix, we have some notes on code profiling here: http://gnss-sdr.org/documentation/how-profile-code We use the tools described there in a C++-only flowgraph, but I hope some of them will also work for you. Best regards, Carles On Fri, Aug 24, 2012 at 8:28 AM, Qing Yang wrote: > Hi Felix

Re: [Discuss-gnuradio] Profiling GNU Radio flow graphs

2012-08-23 Thread Qing Yang
Hi Felix, Currently I also need to profile and optimize my system. Now I just add some some sentences to print the processing time of each block, but this is definitely not a good method. Could you describe your profiling method in more details, perhaps your results can be a reference for me. Hi

Re: [Discuss-gnuradio] Profiling GNU Radio flow graphs

2012-08-23 Thread Tim
kcachegrind is also a great tool to look at http://kcachegrind.sourceforge.net/html/Shot3Large.html On 08/23/2012 12:53 PM, wun...@int.uni-karlsruhe.de wrote: > After some googling and searching the archives I stumbled upon oprofile > which looks quite nice to me. However, a first try did not rea

[Discuss-gnuradio] Profiling GNU Radio flow graphs

2012-08-23 Thread wunsch
Hi all, I am currently trying to optimize the performance of my DRM transmitter and for this purpose I want to profile my flow graphs. After some googling and searching the archives I stumbled upon oprofile which looks quite nice to me. However, a first try did not really provide very significant