On Wed, 2006-08-23 at 16:00 -0400, Paul Ianna wrote: > On 8/21/06, Philippe Gerum <[EMAIL PROTECTED]> wrote: > > Also have a look at /proc/xenomai/stats when your application runs, the > > MSW field (i.e. Mode SWitches) counts the number of transitions for each > > Xenomai thread. This value should not increase over time, at least for > > latency critical threads. > > Thanks Philippe, very useful. > > Could you also explain the CSW, PF, and STAT fields?
CSW: # of context-switches (seen by the Xenomai scheduler, not the Linux one) PF: # of page faults (should stop increasing as soon as mlockall is in effect) STAT: a bitfield describing the internal state of the thread. Bit values are defined in include/nucleus/thread.h (See status and mode bits). The STAT field from /proc/xenomai/sched gives a 1-letter-per-bit symbolic translation of a the most significant subset of those bits (from a user POV, that is). See "Status symbols" in the same source file. > > Thanks, > Paul > > _______________________________________________ > Xenomai-help mailing list > [email protected] > https://mail.gna.org/listinfo/xenomai-help -- Philippe. _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
