This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
RE: Cpu utilization
- From: "Shilpa" <shilpa at garrettcom dot com>
- To: "Shilpa" <shilpa at garrettcom dot com>, <ecos-discuss at ecos dot sourceware dot org>
- Date: Mon, 28 Apr 2008 16:58:56 -0700
- Subject: [ECOS] RE: Cpu utilization
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