Re: re-synchronize data transmission when parameter changes

2021-09-29 Thread Marcus Müller
Because hacktoberfest is upon us: Made this a formal feature request, with quite a lot of instructions on how to implement it https://github.com/gnuradio/gnuradio/issues/5113 On 29.09.21 19:11, Marcus Müller wrote: > Hi Wei, > > it sounds to me like a bit of an "esoteric" use to adjust the numb

Re: Completely blank flowgraph takes a minute to generate

2021-09-29 Thread Marcus Müller
Hi Jameson, yep, and if it's not IO-bound, it's still a lot of YAML files to parse, so it's really a nice mini-benchmark for your filesystem and python's yaml implementation. By the way, which version of GNU Radio are you running? If you want to have a look into what your OS is up to while you

Re: re-synchronize data transmission when parameter changes

2021-09-29 Thread Marcus Müller
Hi Wei, it sounds to me like a bit of an "esoteric" use to adjust the number of repetitions at runtime for a transmission, but that should not stop you! Not all things can work, though: > For example, by asking the two repeat blocks always > process the same amount of samples, No, that's no

re-synchronize data transmission when parameter changes

2021-09-29 Thread Huang Wei
Hello everyone, I am testing the transmission of the same signal in parallel through two repeat blocks (see attached flowgraph). The repeat times of both repeat blocks are set by the same GUI range from 2 to 10. When I start running the flowgraph, the two output signals are exactly the same as exp

Re: Completely blank flowgraph takes a minute to generate

2021-09-29 Thread Jameson Collins
@Johannes, that's neat. I'll give that a shot. @Marcus, I can't run GRC on the target as it doesn't have X. I'm using grcc to generate the block, I should have mentioned that. When you say IO-bound I'm guessing you mean because it's scanning the disk? I haven't benchmarked this hardware yet, b

Re: Completely blank flowgraph takes a minute to generate

2021-09-29 Thread Marcus Müller
But before going into too much depth, make sure the duration isn't just basically identical to clicking on the "reload block library" button, which is first IO-bound (which *can* take significant amount of CPU time on weaker ARMs) and then parsing-limited. Best Regards, Marcus On 9/29/21 11:

Re: Completely blank flowgraph takes a minute to generate

2021-09-29 Thread Johannes Demel
Hi, I used: https://docs.python.org/3/library/profile.html#module-cProfile in the past to locate the problematic lines of code. ``` import cProfile import pstats with cProfile.Profile() as pr: run_the_problematic_function_etc() stats = pstats.Stats(pr) stats.sort_stats('cumtime').reverse_or