On Fri, 2011-04-29 at 11:35 +0200, Thierry Bultel wrote: > Hi all, > > I was wondering if the displayed CPU time was, for these particular > threads, > the only time spent in primary mode, of the total amount of time spent > on the CPU. > > I am namely currently debugging an application which has such kind of > thread, > with a period of 50ms, and that takes up to 23% of the CPU. > That is bad, but not a real issue if that time is spent only in > secondary mode, > but I do not know how to figure it out. > The mode switches frequency is equal to the period of my thread, since > it uses rt_task_wait_period > > I am a little bit concerned, my fear is that secondary mode time would > be counted in the ROOT task ... > BTW, I am using version 2.5.2 (I know, it's old ;-) ).
23% is the time spent by your thread in primary mode, secondary mode is indeed charged to the root thread. > > Any help would be appreciated. > > Thanks > Thierry > _______________________________________________ > 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
