Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve scheduler #506

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft

Improve scheduler #506

wants to merge 5 commits into from

Commits on Jun 8, 2022

  1. Better documentation in pf_scheduler.c

    Jonas Berg committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    de2ad97 View commit details
    Browse the repository at this point in the history
  2. Simplify scheduler logic by returning early

    Jonas Berg committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    c2f6ef2 View commit details
    Browse the repository at this point in the history
  3. Current time should be an argument to scheduler functions

    This clarifies the time distribution in the stack, and simplifies testing.
    Jonas Berg committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    c5c98b5 View commit details
    Browse the repository at this point in the history
  4. Use a separate data structure for the scheduler

    This makes it easier to test in isolation, and cleans up the pnet_t struct
    Jonas Berg committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    1db5613 View commit details
    Browse the repository at this point in the history
  5. Break out helper function to determine which timeout is scheduled first

    First step in investigating rtlabs-com#455
    Jonas Berg committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    d311ad0 View commit details
    Browse the repository at this point in the history