-
Notifications
You must be signed in to change notification settings - Fork 109
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
refine coding styles for cpu&memory plugin #54
refine coding styles for cpu&memory plugin #54
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #54 +/- ##
==========================================
+ Coverage 51.30% 52.52% +1.22%
==========================================
Files 318 348 +30
Lines 32418 34266 +1848
==========================================
+ Hits 16632 17999 +1367
- Misses 13840 14137 +297
- Partials 1946 2130 +184
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
pkg/agent/qrm-plugins/cpu/dynamicpolicy/policy_hint_handlers.go
Outdated
Show resolved
Hide resolved
pkg/agent/qrm-plugins/memory/dynamicpolicy/policy_hint_handlers.go
Outdated
Show resolved
Hide resolved
To be honest, I think the risk and burden of making such a large change to these codes are far more than the benefits, especially when it's already running online. But it's been done, I've tried my best to check if modifications will cause problems , but it's really hard to identify the difference between all the changes and the original codes. |
5d9ec8a
to
227299e
Compare
fafa358
to
9aa77a4
Compare
fe77380
to
e65f7c9
Compare
e65f7c9
to
b24b294
Compare
* refine coding styles for cpu&memory plugin * fix styles and fix bugs for cpu/memory plugin according to comments * refine(qrm): add detail comments for complex codes of qrm plugins * refine(qrm): fix conflicts in rebase numa_exclusive feature * fix(qrm): ensures dedicated_cores owner pool non-empty * fix comment typo and refine numa-execlusice judgement * remove useless functions --------- Co-authored-by: 孙健俞 <sunjianyu@bytedance.com>
What type of PR is this?
refactor
What this PR does / why we need it:
currently, qrm plugin is a little complicated and lack of abstraction for similar functionalities
this pr is for cpu and memory plugin