diff options
author | Tomas Glozar <tglozar@redhat.com> | 2023-07-26 10:22:12 +0200 |
---|---|---|
committer | John Kacur <jkacur@redhat.com> | 2023-07-26 09:42:29 -0400 |
commit | 33cd1f747596541dc947e14f3dd25ff7960b7443 (patch) | |
tree | 4e0d07b12bf6a2b7483013f7980f783e9a4ac9be | |
parent | 1afab85c9aa0795af2ce96e1c6a2ccbe3ccec4b5 (diff) | |
download | rteval-33cd1f747596541dc947e14f3dd25ff7960b7443.tar.gz |
rteval: Add missing docstrings in SysTopology
Add docstrings for isolated_cpus_str and default_cpus_str.
Signed-off-by: Tomas Glozar <tglozar@redhat.com>
-rw-r--r-- | rteval/systopology.py | 2 |
1 files changed, 2 insertions, 0 deletions
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 |