Skip to content
Snippets Groups Projects

Fix timer in user IOP

Merged Christopher Wipf requested to merge christopher.wipf/advligorts:timerfix into master

The previous version did not handle overflow correctly, which resulted in large excursions in the cycle time.

Here is a plot of IOP cycle time in nanoseconds, without the fix. This is supposed to be 15259 ns for a 65536 Hz IOP. Big glitches are seen every second as the tv_nsec value overflows. timerbroken

And here is how it looks with the change applied. timerfixed

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading