public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] RE: Cpu utilization
@ 2008-04-29  2:16 Shilpa
  2008-04-29 11:11 ` [ECOS] " Grant Edwards
  0 siblings, 1 reply; 3+ messages in thread
From: Shilpa @ 2008-04-29  2:16 UTC (permalink / raw)
  To: Shilpa, ecos-discuss

Hi all

I could not find timer delta for MPC8245 processor.  Can you please help me,

Thank you

Regards
Shilpa

---original message----
The usual method is to increment a counter in a loop in the
idle task. Look at the timer delta for a fixed period of time
(1 second, 10 seconds, etc.).  CPU utilization is roughly
proportional to the inverse of that delta value

-----Original Message-----
From: Shilpa
Sent: Friday, April 25, 2008 5:19 PM
To: ecos-discuss@ecos.sourceware.org
Subject: Cpu utilization


Hi all

I am looking for how to  calculate the CPU utilization in the switch.  Iam
using ECOS and the processor is MPC8245.  I kindly request you to guide me
in calculation.

Thank you in advance

Regards
Shilpa


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ECOS]  Re: Cpu utilization
  2008-04-29  2:16 [ECOS] RE: Cpu utilization Shilpa
@ 2008-04-29 11:11 ` Grant Edwards
  0 siblings, 0 replies; 3+ messages in thread
From: Grant Edwards @ 2008-04-29 11:11 UTC (permalink / raw)
  To: ecos-discuss

On 2008-04-28, Shilpa <shilpa@garrettcom.com> wrote:

> I could not find timer delta for MPC8245 processor.  Can you
> please help me,

To whom should I send the invoice?

-- 
Grant Edwards                   grante             Yow!  Darling, my ELBOW
                                  at               is FLYING over FRANKFURT,
                               visi.com            Germany...


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ECOS]  Re: Cpu utilization
  2008-04-27 16:26 [ECOS] " Shilpa
@ 2008-04-28  7:34 ` Grant Edwards
  0 siblings, 0 replies; 3+ messages in thread
From: Grant Edwards @ 2008-04-28  7:34 UTC (permalink / raw)
  To: ecos-discuss

On 2008-04-26, Shilpa <shilpa@garrettcom.com> wrote:
> Hi all
>
> I am looking for how to  calculate the CPU utilization in the switch.  Iam
> using ECOS and the processor is MPC8245.  I kindly request you to guide me
> in calculation.

The usual method is to increment a counter in a loop in the
idle task. Look at the timer delta for a fixed period of time
(1 second, 10 seconds, etc.).  CPU utilization is roughly
proportional to the inverse of that delta value.

-- 
Grant Edwards                   grante             Yow!  Yow! I just went
                                  at               below the poverty line!
                               visi.com            


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-04-29  2:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-29  2:16 [ECOS] RE: Cpu utilization Shilpa
2008-04-29 11:11 ` [ECOS] " Grant Edwards
  -- strict thread matches above, loose matches on Subject: below --
2008-04-27 16:26 [ECOS] " Shilpa
2008-04-28  7:34 ` [ECOS] " Grant Edwards

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).