You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] testing/sched/timerjitter: unexpected results under normal usage #3634
Found while testing apps/testing/sched/timerjitter on QEMU RISC-V (rv-virt), NuttX-13.0.0-RC2. All three reproduce under normal, non-adversarial usage. A separate off-by-one in the sample loop was already
fixed in pull#3629
Running with no arguments at all completes 0 iterations and prints avg: nan. Should the default guarantee at least 1 iteration, or otherwise avoid printing nan?
Very large missed-frame counts, one run did not finish
4294966445 = 2^32 - 851. avg in the same run is a small, plausible number, while min is not — suggesting min/max end up holding a negative value that gets displayed as a large unsigned one.
On which OS does this issue occur?
[OS: Linux]
What is the version of your OS?
Ubuntu 20.04
NuttX Version
master
Issue Architecture
[Arch: all]
Issue Area
[Area: Testing]
Host information
Environment
Board/config: boards/risc-v/qemu-rv/rv-virt/configs/knsh_romfs, running on QEMU
CONFIG_USEC_PER_TICK changed from the board's default (1000) back to the Kconfig default 10000
Activity
testing/sched: fix invalid timerjitter results
acassis commentedon Aug 9, 2026
@michallenc @ppisa for visibility ^