diff options
author | Marcus Müller <mmueller@gnuradio.org> | 2021-06-20 18:44:37 +0200 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2021-06-28 10:19:20 -0400 |
commit | a695142b33199de25327709d4983592d96e20414 (patch) | |
tree | 135068aeef5b447b30ae2a20e252f0a3f0520430 /gr-blocks/grc | |
parent | 5463e741ef6714854e4623288eb74e21eb1cca90 (diff) |
blocks: zero-output, zero-copy Head mode
If you don't want to test a stream with an exact number of input, but
just want your flow graph to terminate after a given number of items,
having a head block without an output enables you to do that without
copying the data from Head's in- to its output.
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
Diffstat (limited to 'gr-blocks/grc')
-rw-r--r-- | gr-blocks/grc/blocks_head.block.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gr-blocks/grc/blocks_head.block.yml b/gr-blocks/grc/blocks_head.block.yml index 6f8d1787eb..2a3e5d9de3 100644 --- a/gr-blocks/grc/blocks_head.block.yml +++ b/gr-blocks/grc/blocks_head.block.yml @@ -30,6 +30,7 @@ outputs: - domain: stream dtype: ${ type } vlen: ${ vlen } + optional: true asserts: - ${ vlen > 0 } |