linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: John Kacur <jkacur@redhat.com>
To: Tomas Glozar <tglozar@redhat.com>
Cc: linux-rt-users@vger.kernel.org
Subject: Re: [PATCH] rteval: Add missing docstrings in SysTopology
Date: Wed, 26 Jul 2023 09:42:53 -0400 (EDT)	[thread overview]
Message-ID: <c8cfc15-eda6-782a-ebdc-eba63bf95538@redhat.com> (raw)
In-Reply-To: <20230726082212.258414-1-tglozar@redhat.com>



On Wed, 26 Jul 2023, tglozar@redhat.com wrote:

> 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 --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
> 
> 
Signed-off-by: John Kacur <jkacur@redhat.com>


      reply	other threads:[~2023-07-26 13:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-26  8:22 [PATCH] rteval: Add missing docstrings in SysTopology tglozar
2023-07-26 13:42 ` John Kacur [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c8cfc15-eda6-782a-ebdc-eba63bf95538@redhat.com \
    --to=jkacur@redhat.com \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=tglozar@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).