mbox series

[0/4] rteval: Add relative cpusets

Message ID 20231129093457.17984-1-tglozar@redhat.com
Headers show
Series rteval: Add relative cpusets | expand

Message

Tomas Glozar Nov. 29, 2023, 9:34 a.m. UTC
From: Tomas Glozar <tglozar@redhat.com>

This is a follow-up to "rteval: Refactor CPU list logic" patchset. First three
patches contain some cleanups, most importantly the removal of CpuList class
and moving the code into a module rteval.cpulist_utils.

Fourth patch adds support for relative cpulists for measurements, e.g.
--measurement-cpulist=+1,2,-5,6, for details, see the commit message.

Tomas Glozar (4):
  rteval: Refactor collapse_cpulist in systopology
  rteval: Minor improvements to CpuList class
  rteval: Convert CpuList class to a module
  rteval: Add relative cpulists for measurements

 rteval-cmd                               |  31 ++--
 rteval/cpulist_utils.py                  | 161 ++++++++++++++++
 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   |  11 +-
 rteval/modules/measurement/cyclictest.py |  52 +-----
 rteval/systopology.py                    | 223 +++++------------------
 9 files changed, 252 insertions(+), 266 deletions(-)
 create mode 100644 rteval/cpulist_utils.py