Skip to content

Tolerance not being used for task reordering #17

@marcuschangarm

Description

@marcuschangarm

Currently, tasks are being sorted by start time only:
https://github.com/ARMmbed/minar/blob/master/source/minar.cpp#L336-L345

And the tolerance is only being used to evaluate if the top task can be executed:
https://github.com/ARMmbed/minar/blob/master/source/minar.cpp#L371

Proposal: the comparison function should take tolerance into account when sorting so that tasks with low tolerance values can skip ahead of tasks with high tolerances.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions