Skip to content

improve scheduler getFullResult #324

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

Merged
merged 2 commits into from
Jan 20, 2021
Merged

Conversation

jschwinger233
Copy link
Member

  1. recursive -> loop
  2. 更好的核分配

第二点的 test case 补充在测试里, 3 cpus 选 2 完整核, 之前的算法忽视了第三个 cpu, 小小的改进了一下, 把 len(resources) % full 的部分也加到下一轮的计算中.

@CMGS CMGS merged commit 58385f1 into projecteru2:master Jan 20, 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.

2 participants