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 <jiyajohnso...@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
>

Reply via email to