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

Adds CPU pinning to the development branch. #1084

Merged
merged 2 commits into from Feb 3, 2021
Merged

Conversation

rwails
Copy link
Collaborator

@rwails rwails commented Feb 3, 2021

Adds CPU pinning to the development branch.
On calls to thread_run andthread_resume, the plugin's CPU affinity is set to the worker's
current affinity when affinity mode is enabled.

`thread_resume`, the plugin's CPU affinity is set to the worker's
current affinity when affinity mode is enabled.
@codecov
Copy link

codecov bot commented Feb 3, 2021

Codecov Report

Merging #1084 (feb4e27) into dev (bdfc939) will increase coverage by 0.06%.
The diff coverage is 83.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev    #1084      +/-   ##
==========================================
+ Coverage   54.93%   54.99%   +0.06%     
==========================================
  Files         130      130              
  Lines       19581    19586       +5     
  Branches     4675     4675              
==========================================
+ Hits        10757    10772      +15     
+ Misses       6063     6054       -9     
+ Partials     2761     2760       -1     
Flag Coverage Δ
tests 54.99% <83.33%> (+0.06%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/main/core/main.c 44.73% <0.00%> (ø)
src/main/host/thread.c 60.44% <100.00%> (+1.53%) ⬆️
.../main/core/scheduler/scheduler_policy_host_steal.c 82.06% <0.00%> (+0.38%) ⬆️
src/main/host/thread_ptrace.c 66.61% <0.00%> (+0.87%) ⬆️
src/main/core/worker.c 83.41% <0.00%> (+1.38%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bdfc939...0401646. Read the comment docs.

src/main/host/thread_protected.h Show resolved Hide resolved
@rwails rwails merged commit 38c017d into shadow:dev Feb 3, 2021
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.

None yet

2 participants