rteval: Refactor CPU list logic
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 7 repliesIn review
- v13 patches 1 replySuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | rteval: Refactor collapse_cpulist in systopologyrteval-cmd rteval/ rteval/ +2 more | +30 | 0 replies | |
| 2/3 | rteval: Minor improvements to CpuList classrteval/ | +12 | 7 replies | |
| 3/3 | rteval: Convert CpuList class to a modulerteval-cmd rteval/ rteval/ +6 more | +175 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/3] rteval: Refactor CPU list logic
From: Tomas Glozar <[email protected]>
The main change of this patchset is the removal of the CpuList class, moving the related logic to a new module rteval.cpulist_utils. Motivation for this is further explained in the corresponding commit description.
In addition to that, there are a few smaller fixes in the first two commits. These can be merged separately from the removal of the CpuList class in the third commit.
v2: First patch ("rteval: Refactor collapse_cpulist in systopology") broke --measurement-run-on-isolcpus because the new implementation of collapse_cpulist does not allow for string cpus in input. Changed to always convert cpus to string when passing to collapse_cpulist.
Third patch ("rteval: Convert CpuList class to a module") was missing replacing the old calls to CpuList functions with the new cpulist_util ones at a few places, causing rteval to fail to run with --*-cpulist option. Fixed.
Tomas Glozar (3):
rteval: Refactor collapse_cpulist in systopology
rteval: Minor improvements to CpuList class
rteval: Convert CpuList class to a module
rteval-cmd | 17 +- rteval/cpulist_utils.py | 125 +++++++++++++++ rteval/modules/loads/__init__.py | 8 +- rteval/modules/loads/hackbench.py | 9 +- rteval/modules/loads/kcompile.py | 14 +- rteval/modules/loads/stressng.py | 9 +- rteval/modules/measurement/__init__.py | 8 +- rteval/modules/measurement/cyclictest.py | 12 +- rteval/systopology.py | 190 ++--------------------- 9 files changed, 175 insertions(+), 217 deletions(-) create mode 100644 rteval/cpulist_utils.py
Signature · 1 line
2.41.0