|
From: | Qing Yang |
Subject: | Re: [Discuss-gnuradio] Profile gr python code using Oprofile and Kcachegrind |
Date: | Sun, 2 Sep 2012 16:33:49 +0800 |
On Fri, Aug 31, 2012 at 7:10 AM, Christian Gagneraud <address@hidden> wrote:Chris,
> On 28/08/12 09:21, Qing Yang wrote:
>>
>> Hi everyone,
>>
>> Where can I find a concrete example on how to profile the gnuradio code
>> in Python?
>
>
> Hi,
>
> I've just read about timeit in an article, not sure if it fits your neeeds,
> but just in case:
> http://docs.python.org/library/timeit.html
>
> Chris
That's a good tip. I've used it before and found it nice to time the
runtime of a flowgraph.
So Qing, if that's what you were talking about before, yes, something
like this is probably what you want to use to time the execution of a
block from the Python world. I might have been confused what you meant
by wanting to profile Python stuff.
Tom
_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Prev in Thread] | Current Thread | [Next in Thread] |