CPU usage statistics

Joel Sherrill joel.sherrill at OARcorp.com
Thu Sep 25 21:54:49 UTC 2003


Charles Steaderman wrote:

> I would like to gather some CPU usage statistics on my system. I found 
> a function named CPU_usage_Dump() which seems to be close to what I 
> need. After looking though the code, it is not clear how "system" or 
> "interrupt" time is measured. Does RTEMS have a way to segment system 
> time usage from normal task usage or does interrupt processing time 
> count against the task that is interrupted?

The latter --   interrupt processing time is included in the interrupted 
task.  To do otherwise, the
RTEMS interrupt dispatcher would have to do some timer management.

>
> - Charlie
>






More information about the users mailing list