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.

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to