rteval: Add missing docstrings in SysTopology
PATCH 1/1 rteval: Add missing docstrings in SysTopology
From: Tomas Glozar <[email protected]>
Add docstrings for isolated_cpus_str and default_cpus_str.
Signed-off-by Tomas Glozar <[email protected]>
--- rteval/systopology.py | 2 ++ 1 file changed, 2 insertions(+)
rteval/systopology.py +2 -0
@@ -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
Signature · 1 line
2.39.3
Quoted 30 lines · On Wed, 26 Jul 2023, [email protected] wrote:
From: Tomas Glozar <[email protected]>
Add docstrings for
isolated_cpus_stranddefault_cpus_str.Signed-off-by Tomas Glozar <[email protected]>--- rteval/systopology.py | 2 ++ 1 file changed, 2 insertions(+)rteval/systopology.py +2
-0@@ -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 cpulistSignature · 1 line
2.39.3
Signed-off-by John Kacur <[email protected]>