Jan Kiszka wrote:
> Hi,
> 
> I think to remember people crying for some execution time statistics for 
> quite a
> while now. Here comes a straightforward approach to add this on a per-thread 
> basis.
> The results are printed like this:
> 
> [EMAIL PROTECTED] :/root# cat /proc/xenomai/stat 
> CPU  PID    MSW        CSW        PF    STAT              TIME  NAME
>   0  0      0          7508041    0     01400080     166038894  ROOT
>   0  0      0          2          0     00000082            55  
> timsPipeReceiver
>   0  1009   751        8800       0     00c00082        143026  display-1008
>   0  1010   0          7514585    0     00c00084      54472477  sampling-1008
> 
> The new TIME column contains the accumulated execution time of each active 
> thread in
> nanoseconds. It's now a job of some user-space tool (shell script?) to pick 
> those

I was thinking of the right unit, I swear:
s/nanoseconds/microseconds/

> numbers up and do, e.g., periodic evaluation (I'm thinking of some 
> "xeno-top"). Any
> volunteer around to hack this? Would be very welcome!
> 
> Jan
> 
> PS: Could someone have a look that I didn't miss an accounting point and my
> acquisition is sound?
> 

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to