mbox series

[0/3] rteval: Refactor CPU list logic

Message ID 20231114121808.154654-1-tglozar@redhat.com
Headers show
Series rteval: Refactor CPU list logic | expand

Message

Tomas Glozar Nov. 14, 2023, 12:18 p.m. UTC
From: Tomas Glozar <tglozar@redhat.com>

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.

Tomas Glozar (3):
  rteval: Refactor collapse_cpulist in systopology
  rteval: Minor improvements to CpuList class
  rteval: Convert CpuList class to a module

 rteval-cmd                               |   9 +-
 rteval/cpulist_utils.py                  | 125 +++++++++++++++
 rteval/modules/loads/__init__.py         |   7 +-
 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, 170 insertions(+), 213 deletions(-)
 create mode 100644 rteval/cpulist_utils.py