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]

Performance measure on PowerPC


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


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