diff mbox series

rteval: Add missing docstrings in SysTopology

Message ID 20230726082212.258414-1-tglozar@redhat.com
State New
Headers show
Series rteval: Add missing docstrings in SysTopology | expand

Commit Message

Tomas Glozar July 26, 2023, 8:22 a.m. UTC
From: Tomas Glozar <tglozar@redhat.com>

Add docstrings for isolated_cpus_str and default_cpus_str.

Signed-off-by: Tomas Glozar <tglozar@redhat.com>
---
 rteval/systopology.py | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

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