All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Can I profile a Xenomai app?
@ 2006-06-09 19:00 Brian Hughner
  2006-06-11 12:49 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 2+ messages in thread
From: Brian Hughner @ 2006-06-09 19:00 UTC (permalink / raw)
  To: xenomai

Hi!

I've been working with Xenomai 2.1 and 2.2 and would like to profile a 
daemon that I wrote. Is it possible to profile Xenomai threads in a daemon?

Brian Hughner




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Xenomai-help] Can I profile a Xenomai app?
  2006-06-09 19:00 [Xenomai-help] Can I profile a Xenomai app? Brian Hughner
@ 2006-06-11 12:49 ` Gilles Chanteperdrix
  0 siblings, 0 replies; 2+ messages in thread
From: Gilles Chanteperdrix @ 2006-06-11 12:49 UTC (permalink / raw)
  To: Brian Hughner; +Cc: xenomai

Brian Hughner wrote:
 > Hi!
 > 
 > I've been working with Xenomai 2.1 and 2.2 and would like to profile a 
 > daemon that I wrote. Is it possible to profile Xenomai threads in a daemon?

If you are looking for a way to manually instrument your code in order
to measure short time intervals, you may use
clock_gettime(CLOCK_MONOTONIC) with the posix skin, or rt_timer_tsc()
with the native skin.

For a more automated way, have a look at the I-pipe tracer.

If you are able to simulate the low-level part of the daemon you
developed, or if this daemon does not interact too much with hardware,
you may compile this daemon for xenomai simulator, compiled with the
"atomic core" option, and give a try to cachegrind. I do not think
cachegrind will be able to output per-thread results, though.

-- 


					    Gilles Chanteperdrix.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-06-11 12:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-09 19:00 [Xenomai-help] Can I profile a Xenomai app? Brian Hughner
2006-06-11 12:49 ` Gilles Chanteperdrix

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.