[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnuradio-discuss
Subject:    Re: Controlport
From:       Jeff Long <willcode4 () gmail ! com>
Date:       2023-11-10 11:18:41
Message-ID: CAC5f9jbP4crcNmLx+UpHNNjYUOnqZfH2jUWScdU7rPr3JbAixg () mail ! gmail ! com
[Download RAW message or body]

That code, which is not often used these days, should be
  gr.prefs().set_bool(...) without the singleton() part

You could add an issue. That file is the only one left using the old
method, which shows how much it is used or tested.

There is not any convenient way to get latency figures from within GR.
Latency is somewhat controllable by setting maximum output buffer sizes
and/or using the limit feature on the Throttle in more recent versions.

On Fri, Nov 10, 2023 at 3:34 AM Jiya Johnson <jiyajohnson10@gmail.com>
wrote:

> Greetings to everyone,
>
>     self.blocks_ctrlport_monitor_performance_0 = not True or
> monitor("gr-perf-monitorx")
>   File
> "/usr/local/lib/python3.10/dist-packages/gnuradio/ctrlport/monitor.py",
> line 30, in __init__
>     gr.prefs().singleton().set_bool("ControlPort", "on", True)
> AttributeError: 'gnuradio.gr.gr_python.prefs' object has no attribute
> 'singleton'
> ctrlport monitor received shutdown signal
>
> Is there any inbuilt gr_profilers in gnuradio to measure buffer,latency if
> not how can i get the benchmark values for comparison.
> getting this error while using Ctrlport Performance Monitor in GNU Radio
> 3.10.8.0.
> it will be very helpful if someone can help me to clear this
>

[Attachment #3 (text/html)]

<div dir="ltr">That code, which is not often used these days, should be<div>   \
gr.prefs().set_bool(...) without the singleton() part</div><div><br></div><div>You \
could add an issue. That file is the only one left using the old method, which shows \
how much it is used or tested.</div><div><br></div><div>There is not any convenient \
way to get latency figures from within GR. Latency is somewhat controllable by \
setting maximum output buffer sizes and/or using the limit feature on the Throttle in \
more recent versions.</div></div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">On Fri, Nov 10, 2023 at 3:34 AM Jiya Johnson &lt;<a \
href="mailto:jiyajohnson10@gmail.com">jiyajohnson10@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div \
dir="ltr"><div>Greetings to everyone,</div><div><br></div><div>      \
self.blocks_ctrlport_monitor_performance_0 = not True or \
monitor(&quot;gr-perf-monitorx&quot;)<br>   File \
&quot;/usr/local/lib/python3.10/dist-packages/gnuradio/ctrlport/monitor.py&quot;, \
line 30, in __init__<br>      \
gr.prefs().singleton().set_bool(&quot;ControlPort&quot;, &quot;on&quot;, \
True)<br>AttributeError: &#39;gnuradio.gr.gr_python.prefs&#39; object has no \
attribute &#39;singleton&#39;<br>ctrlport monitor received shutdown \
signal</div><div><br></div><div>Is there any inbuilt gr_profilers in gnuradio to \
measure buffer,latency if not how can i get the benchmark values for \
comparison.<br></div><div>getting this error while using Ctrlport Performance Monitor \
in GNU Radio 3.10.8.0.</div><div>it will be very helpful if someone can help me to \
clear this</div></div> </blockquote></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic