public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Performance measure on PowerPC
@ 2002-05-28  1:48 Daniel.Lidsten
  2002-05-28  1:52 ` Andrew Lunn
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel.Lidsten @ 2002-05-28  1:48 UTC (permalink / raw)
  To: ecos-discuss

Hi,

During the last week i have had a few performance problem with my MPC850.
Now that i understand that the real issue was that i had to many extern RAM
access then i have to do the best i can to avoid such during critical
sections. However, i need some performance measure function that is run
everytime the CPU is idle. My thought is that i create a low priority thread
together with the rest of all threads in my application. If i do so then i
will never get to the real idle_thread in eCos but always stay in the
application. 

Does anyone have a piece of code that by quite simple actions can measure
(and store?) the work load of a system? I have search through the archive
and found a "ping-pong" measurement method but i want some simpler...

Regards, Daniel

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

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

* Re: [ECOS] Performance measure on PowerPC
  2002-05-28  1:48 [ECOS] Performance measure on PowerPC Daniel.Lidsten
@ 2002-05-28  1:52 ` Andrew Lunn
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Lunn @ 2002-05-28  1:52 UTC (permalink / raw)
  To: Daniel.Lidsten; +Cc: ecos-discuss

> Does anyone have a piece of code that by quite simple actions can measure
> (and store?) the work load of a system? I have search through the archive
> and found a "ping-pong" measurement method but i want some simpler...

Are you referring to my code here? The calibration is a bit complex if
you are not so good at understanding threads etc, but the actual
measurement of load is very simple.

      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

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

end of thread, other threads:[~2002-05-28  8:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-28  1:48 [ECOS] Performance measure on PowerPC Daniel.Lidsten
2002-05-28  1:52 ` Andrew Lunn

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).