This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Regd scheduling statistics


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]