All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Detecting switch to secondary mode
@ 2006-07-06 11:43 J. Niehaus
  2006-07-06 11:54 ` Jan Kiszka
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: J. Niehaus @ 2006-07-06 11:43 UTC (permalink / raw)
  To: xenomai

Hello,

I have written a xenomai application (posix-skin) with several tasks. All of them should normally use primary mode (SCHED_FIFO). While some are allowed to switch to secondary mode for stuff like I/O and memory allocation others must not switch due to hard realtime constraints. 

Is there a way to check if and how often a thread has switched to secondary mode and maybe even what system call caused the switch? While a test from within the program itself would be great some information from /proc/xenomai would also do.

Thanks,
	Jens


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

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

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-06 11:43 [Xenomai-help] Detecting switch to secondary mode J. Niehaus
2006-07-06 11:54 ` Jan Kiszka
2006-07-06 11:55 ` Philippe Gerum
2006-07-06 12:04 ` 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.