From 1afab85c9aa0795af2ce96e1c6a2ccbe3ccec4b5 Mon Sep 17 00:00:00 2001 From: Tomas Glozar Date: Fri, 30 Jun 2023 11:19:07 +0200 Subject: [PATCH] rteval: Exclude isolcpus from loads report Use SysTopology.default_cpus() to report cores on which measurements and loads and run by default to reflect the default behavior (no isolcpus). Signed-off-by: Tomas Glozar --- rteval/modules/loads/__init__.py | 2 +- rteval/modules/measurement/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rteval/modules/loads/__init__.py b/rteval/modules/loads/__init__.py index 761cc8c..74aad58 100644 --- a/rteval/modules/loads/__init__.py +++ b/rteval/modules/loads/__init__.py @@ -138,7 +138,7 @@ class LoadModules(RtEvalModules): # Convert str to list and remove offline cpus cpulist = CpuList(cpulist).cpulist else: - cpulist = SysTop().online_cpus() + cpulist = SysTop().default_cpus() rep_n.newProp("loadcpus", collapse_cpulist(cpulist)) return rep_n diff --git a/rteval/modules/measurement/__init__.py b/rteval/modules/measurement/__init__.py index d99873e..0e395be 100644 --- a/rteval/modules/measurement/__init__.py +++ b/rteval/modules/measurement/__init__.py @@ -194,7 +194,7 @@ measurement profiles, based on their characteristics""" # Convert str to list and remove offline cpus cpulist = CpuList(cpulist).cpulist else: - cpulist = SysTop().online_cpus() + cpulist = SysTop().default_cpus() rep_n.newProp("measurecpus", collapse_cpulist(cpulist)) for mp in self.__measureprofiles: -- 2.41.0