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 <tglozar@xxxxxxxxxx> --- 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