Skip to content

examples/nxscope: control stream interval from CLI#3426

Merged
acassis merged 1 commit intoapache:masterfrom
raiden00pl:nxscope_interval
Apr 2, 2026
Merged

examples/nxscope: control stream interval from CLI#3426
acassis merged 1 commit intoapache:masterfrom
raiden00pl:nxscope_interval

Conversation

@raiden00pl
Copy link
Copy Markdown
Member

Summary

add the ability to control the nxscope example stream interval from the CLI which is useful for performance testing

Impact

a new function useful

Testing

tested on qemu-intel64:

NuttShell (NSH) NuttX-12.12.0
nsh> nxscope -h
ERROR: unsupported argument
Usage: nxscope [-i <stream_interval_us>]
          [-m <main_interval_us>]
nsh> nxscope -i 10 -m 100
stream interval = 10
main interval = 100
nxscope_samples_thr
nxscope_charlog_thr
nxscope_crichan_thr

add the ability to control the stream interval from the CLI
which is useful for performance testing

Signed-off-by: raiden00pl <raiden00@railab.me>
Copy link
Copy Markdown
Contributor

@acassis acassis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor

@cederom cederom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @raiden00pl :-)

  • Nice useful functionality.
  • -h could be valid cmd arg.
  • doc needs update as @acassis noticed :-)
    • interval support.
    • udp transport.

@xiaoxiang781216 xiaoxiang781216 requested a review from acassis March 24, 2026 11:40
@acassis acassis merged commit 5c867b2 into apache:master Apr 2, 2026
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants