[PATCH] rteval: Add missing docstrings in SysTopology

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Tomas Glozar <tglozar@xxxxxxxxxx>

Add docstrings for isolated_cpus_str and default_cpus_str.

Signed-off-by: Tomas Glozar <tglozar@xxxxxxxxxx>
---
 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.39.3




[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux