[ECOS] Regd scheduling statistics
Andrew Lunn
andrew.lunn@ascom.ch
Tue Mar 11 11:57:00 GMT 2003
On Tue, Mar 11, 2003 at 05:13:27PM +0500, Rajan Srivastava wrote:
> Hi,
>
> I am running eCos 1.3 on PowerPC (motorola).
1.3 is very very old. Think about upgrading.
> I want to get CUP idle time.
> Does scheduler maintains that how many
> ticks have been allocated to which thread?
Nope.
>
> Idle thread is there in eCos, but it's never getting scheduled!
Then you have 100% CPU usage!
> Please direct me that how can I get CPU idle time?
Take a look at packages/services/cpuload in the anoncvs code. It
should work with the very old 1.3 if you don't want to update to the
latest code.
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
More information about the Ecos-discuss
mailing list