Fix signaltest output when quiet
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | rt-utils: Move timestamp calc helper to common headersrc/ src/ src/ +1 more | +40 | 1 reply | |
| 2/4 | rt-utils: Move time defininitions to common headersrc/ src/ src/ +6 more | +7 | 1 reply | |
| 3/4 | rt-utils: Move ARRAY_SIZE to common headersrc/ src/ src/ | +2 | 1 reply | |
| 4/4 | signaltest: Only print from the first thread stats when quietsrc/ | +1 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [rt-tests 0/4] Fix signaltest output when quiet
When the quiet option is used don't print all threads stats. The first thread will pause every 16 cycles for 10000us. This will show up in the max values for all other threads when the final results are printed:
# signaltest -q -D 2s T: 0 ( 4517) P: 0 C: 3121 Min: 5 Act: 8 Avg: 8 Max: 19 T: 1 ( 4518) P: 0 C: 3121 Min: 5 Act:10065 Avg: 639 Max: 10073
We could also remove the sleep but then the system gets fully loaded by the test. Furthermore, we would keep the path pretty hot and that's not ideal if one wants to test the eratic signal behavior. So only consider the first thread for the stats.
Daniel Wagner (4):
rt-utils: Move timestamp calc helper to common header
rt-utils: Move time defininitions to common header
rt-utils: Move ARRAY_SIZE to common header
signaltest: Only print from the first thread stats when quiet
src/backfire/sendme.c | 3 --- src/cyclictest/cyclictest.c | 42 ------------------------------ src/include/rt-utils.h | 48 +++++++++++++++++++++++++++++++++++ src/pi_tests/pi_stress.c | 17 ------------- src/pmqtest/pmqtest.c | 4 --- src/ptsematest/ptsematest.c | 2 -- src/queuelat/queuelat.c | 2 +- src/signaltest/signaltest.c | 22 +--------------- src/sigwaittest/sigwaittest.c | 2 -- src/svsematest/svsematest.c | 2 -- 10 files changed, 50 insertions(+), 94 deletions(-)
Signature · 1 line
2.28.0