From: Philippe Gerum <rpm@xenomai.org>
To: Thierry Bultel <thierry.bultel@domain.hid>
Cc: xenomai@xenomai.org, Nicolas Mabire <nicolas.mabire@domain.hid>,
Jean-Baptiste Tredez <jean-baptiste.tredez@domain.hid>
Subject: Re: [Xenomai-help] How to interpret /proc/xenomai/stat CPU time of threads with priority 0
Date: Sat, 30 Apr 2011 12:31:07 +0200 [thread overview]
Message-ID: <1304159467.1823.9.camel@domain.hid> (raw)
In-Reply-To: <4DBA8655.9050400@domain.hid>
On Fri, 2011-04-29 at 11:35 +0200, Thierry Bultel wrote:
> Hi all,
>
> I was wondering if the displayed CPU time was, for these particular
> threads,
> the only time spent in primary mode, of the total amount of time spent
> on the CPU.
>
> I am namely currently debugging an application which has such kind of
> thread,
> with a period of 50ms, and that takes up to 23% of the CPU.
> That is bad, but not a real issue if that time is spent only in
> secondary mode,
> but I do not know how to figure it out.
> The mode switches frequency is equal to the period of my thread, since
> it uses rt_task_wait_period
>
> I am a little bit concerned, my fear is that secondary mode time would
> be counted in the ROOT task ...
> BTW, I am using version 2.5.2 (I know, it's old ;-) ).
23% is the time spent by your thread in primary mode, secondary mode is
indeed charged to the root thread.
>
> Any help would be appreciated.
>
> Thanks
> Thierry
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
--
Philippe.
prev parent reply other threads:[~2011-04-30 10:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-29 9:35 [Xenomai-help] How to interpret /proc/xenomai/stat CPU time of threads with priority 0 Thierry Bultel
2011-04-30 10:31 ` Philippe Gerum [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=1304159467.1823.9.camel@domain.hid \
--to=rpm@xenomai.org \
--cc=jean-baptiste.tredez@domain.hid \
--cc=nicolas.mabire@domain.hid \
--cc=thierry.bultel@domain.hid \
--cc=xenomai@xenomai.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.