Skip to content

cyclictest: Various fixes and a new option

[email protected] linux-rt-users 1 version Applied

Status from this message: Thanks, applied, this will be in the next release

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 13 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3cyclictest: Ensure that next wakeup time is never in the pastsrc/cyclictest/cyclictest.c+12 -01 reply
2/3cyclictest: Convert the offset of the alignment option to microsecondssrc/cyclictest/cyclictest.c+1 -18 replies
3/3cyclictest: Align measurement threads to the next full secondsrc/cyclictest/cyclictest.c+34 -54 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 0/3] cyclictest: Various fixes and a new option

This patch series addresses two shortcomings of the cyclictest code:

- Calculation of the next wakeup time does not take latencies longer than the interval time into account, so the next scheduled event is already in the past.

- The offset value of the --aligned option should be counted in microseconds, but the code lacks a conversion to nanoseconds

Aside of this, add a new option which allows to align the measurement threads to the next full second with an optional offset.

Anna-Maria