discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Measuring execution time of functions within bloc


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] Measuring execution time of functions within block returns strange results.
Date: Wed, 16 Mar 2016 15:15:42 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

Hi Gonzalo,

On 16.03.2016 15:12, Gonzalo Arcos wrote:
> Ive been trying to determine which functions and/or code sections are
> the more computationally consuming within a work() function of a block.
Don't do that yourself. There's the performance counters built into GNU
Radio, which allow you to perform the overall consumed work() time, and
if you need to look deeper into your program:
Get the perf tools. Build your project using "cmake
-DCMAKE_BUILD_TYPE=RelWithDebInfo ..", and then

perf top -a python yourflowgraph.py
perf report

Best regards,
Marcus




reply via email to

[Prev in Thread] Current Thread [Next in Thread]