All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thierry Bultel <thierry.bultel@domain.hid>
To: xenomai@xenomai.org,
	Jean-Baptiste Tredez <jean-baptiste.tredez@domain.hid>,
	Nicolas Mabire <nicolas.mabire@domain.hid>
Subject: [Xenomai-help] How to interpret /proc/xenomai/stat CPU time of threads with priority 0
Date: Fri, 29 Apr 2011 11:35:17 +0200	[thread overview]
Message-ID: <4DBA8655.9050400@domain.hid> (raw)

[-- Attachment #1: Type: text/plain, Size: 740 bytes --]

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 ;-) ).

Any help would be appreciated.

Thanks
Thierry

[-- Attachment #2: Type: text/html, Size: 1268 bytes --]

             reply	other threads:[~2011-04-29  9:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-29  9:35 Thierry Bultel [this message]
2011-04-30 10:31 ` [Xenomai-help] How to interpret /proc/xenomai/stat CPU time of threads with priority 0 Philippe Gerum

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=4DBA8655.9050400@domain.hid \
    --to=thierry.bultel@domain.hid \
    --cc=jean-baptiste.tredez@domain.hid \
    --cc=nicolas.mabire@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.