[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CPU usage statistics
- Date: Thu, 25 Sep 2003 16:54:49 -0500
- From: joel.sherrill at OARcorp.com (Joel Sherrill)
- Subject: CPU usage statistics
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
>