From: Jan Kiszka <jan.kiszka@domain.hid>
To: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] [RFC, PATCH] per-thread exec-time stats
Date: Thu, 06 Jul 2006 13:41:12 +0200 [thread overview]
Message-ID: <44ACF6D8.6060609@domain.hid> (raw)
In-Reply-To: <44ACF5FA.2050205@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 1213 bytes --]
Jan Kiszka wrote:
> Hi,
>
> I think to remember people crying for some execution time statistics for quite a
> while now. Here comes a straightforward approach to add this on a per-thread basis.
> The results are printed like this:
>
> root@domain.hid :/root# cat /proc/xenomai/stat
> CPU PID MSW CSW PF STAT TIME NAME
> 0 0 0 7508041 0 01400080 166038894 ROOT
> 0 0 0 2 0 00000082 55 timsPipeReceiver
> 0 1009 751 8800 0 00c00082 143026 display-1008
> 0 1010 0 7514585 0 00c00084 54472477 sampling-1008
>
> The new TIME column contains the accumulated execution time of each active thread in
> nanoseconds. It's now a job of some user-space tool (shell script?) to pick those
I was thinking of the right unit, I swear:
s/nanoseconds/microseconds/
> numbers up and do, e.g., periodic evaluation (I'm thinking of some "xeno-top"). Any
> volunteer around to hack this? Would be very welcome!
>
> Jan
>
> PS: Could someone have a look that I didn't miss an accounting point and my
> acquisition is sound?
>
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]
next prev parent reply other threads:[~2006-07-06 11:41 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-06 11:37 [Xenomai-core] [RFC, PATCH] per-thread exec-time stats Jan Kiszka
2006-07-06 11:41 ` Jan Kiszka [this message]
2006-07-06 14:32 ` Philippe Gerum
2006-07-06 15:09 ` Jan Kiszka
2006-07-06 15:37 ` Philippe Gerum
2006-07-06 15:46 ` Jan Kiszka
2006-07-06 16:36 ` Jan Kiszka
2006-07-06 17:17 ` Jan Kiszka
2006-07-07 8:20 ` Jan Kiszka
2006-07-07 8:04 ` Philippe Gerum
2006-07-07 8:09 ` Jan Kiszka
2006-07-07 8:49 ` Philippe Gerum
2006-07-07 9:03 ` Jan Kiszka
2006-07-07 11:28 ` Philippe Gerum
2006-07-06 16:37 ` Philippe Gerum
2006-07-06 23:47 ` Gilles Chanteperdrix
2006-07-07 7:54 ` Philippe Gerum
2006-07-07 10:22 ` Gilles Chanteperdrix
2006-07-07 10:30 ` Jan Kiszka
2006-07-07 13:23 ` Philippe Gerum
2006-07-07 13:59 ` Gilles Chanteperdrix
2006-07-07 14:25 ` Philippe Gerum
2006-07-06 15:04 ` Philippe Gerum
2006-07-06 15:06 ` 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=44ACF6D8.6060609@domain.hid \
--to=jan.kiszka@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.