This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Regd scheduling statistics
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: Rajan Srivastava <rajan at cdotd dot ernet dot in>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Tue, 11 Mar 2003 12:57:11 +0100
- Subject: Re: [ECOS] Regd scheduling statistics
- References: <Pine.OSF.4.21.0303111708410.12646-100000@sagit.cdotd.ernet.in>
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