Skip to content

Reworks the architecture of the scheduler#9

Open
ericcano wants to merge 3 commits intocern-nextgen:mainfrom
ericcano:SchedulerRework
Open

Reworks the architecture of the scheduler#9
ericcano wants to merge 3 commits intocern-nextgen:mainfrom
ericcano:SchedulerRework

Conversation

@ericcano
Copy link
Copy Markdown
Collaborator

There is now only a single queue, the work queue, for asynchronous algorithm invocation. The queue usage is kept to a minimum and the and scheduling of next algorithm or event is done right after algorthm completion. Furthermore, the first next algorithm is also invoqued immediately without queueing.

The event content manager allows detemining which algorithms depend on the completed one and are ready to be executed.

Unit tests were added during the development.

This solves issue #7

There is now only a single queue, the work queue, for asynchronous
algorithm invocation. The queue usage is kept to a minimum and the
and scheduling of next algorithm or event is done right after
algorthm completion. Furthermore, the first next algorithm is
also invoqued immediately without queueing.

The event content manager allows detemining which algorithms
depend on the completed one and are ready to be executed.

Unit tests were added during the development.
TODO: consider the fate of the AlgExecState (it is not used currently).
Removes hardcoded O0 optimization for debugging.
Event numbers are now all int type.
Removed old commented out code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant