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

i#6831 sched refactor: Add set_cur_input() hooks #7089

Merged
merged 2 commits into from
Nov 21, 2024

Conversation

derekbruening
Copy link
Contributor

Adds swap_in_input() and swap_out_input() subclass hooks inside set_cur_input(). This allows moving ready queue functions into the dynamic subclass, and will be used there for future live workload tracking for #7067.

Moves add_to_ready_queue(), add_to_ready_queue_hold_locks(), add_to_unscheduled_queue(), and print_queue_stats() into the dynamic subclass.

Issue: #7067, #6831

Adds swap_in_input() and swap_out_input() subclass hooks inside
set_cur_input().  This allows moving ready queue functions into the
dynamic subclass, and will be used there for future live workload
tracking for #7067.

Moves add_to_ready_queue(), add_to_ready_queue_hold_locks(),
add_to_unscheduled_queue(), and print_queue_stats() into the dynamic
subclass.

Issue: #7067, #6831
clients/drcachesim/scheduler/scheduler_dynamic.cpp Outdated Show resolved Hide resolved
clients/drcachesim/scheduler/scheduler_impl.h Outdated Show resolved Hide resolved
clients/drcachesim/scheduler/scheduler_impl.h Outdated Show resolved Hide resolved
clients/drcachesim/scheduler/scheduler_impl.h Outdated Show resolved Hide resolved
clients/drcachesim/scheduler/scheduler_impl.cpp Outdated Show resolved Hide resolved
clients/drcachesim/scheduler/scheduler_impl.h Outdated Show resolved Hide resolved
clients/drcachesim/scheduler/scheduler_impl.h Show resolved Hide resolved
…empty; add lock to dynamic callee and so remove workload; augment comments
@derekbruening derekbruening merged commit f23c543 into master Nov 21, 2024
17 checks passed
@derekbruening derekbruening deleted the i6831-set-cur-input-hooks branch November 21, 2024 00:16
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.

2 participants