From 33cd1f747596541dc947e14f3dd25ff7960b7443 Mon Sep 17 00:00:00 2001 From: Tomas Glozar Date: Wed, 26 Jul 2023 10:22:12 +0200 Subject: [PATCH] rteval: Add missing docstrings in SysTopology Add docstrings for isolated_cpus_str and default_cpus_str. Signed-off-by: Tomas Glozar --- rteval/systopology.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rteval/systopology.py b/rteval/systopology.py index 19443f9..a991e70 100644 --- a/rteval/systopology.py +++ b/rteval/systopology.py @@ -407,10 +407,12 @@ class SysTopology: return cpulist def isolated_cpus_str(self): + """ return a list of strings of numbers of all isolated cpus """ cpulist = [str(cpu) for cpu in self.isolated_cpus()] return cpulist def default_cpus_str(self): + """ return a list of strings of numbers of all default schedulable cpus """ cpulist = [str(cpu) for cpu in self.default_cpus()] return cpulist -- 2.41.0