This is the mail archive of the ecos-discuss@sourceware.org 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]

optimization causes CLULoad package to fail


Hi,

i just found out that optimization removes the counter in the idle thread.
This counter is used for COU load measurments with the included Package.
This was it allwas shows 99% load.

How can i tell the Compiler not to optimize the idle loop? Is there some
kind of pragma for this?



--
View this message in context: http://sourceware-org.1504.n7.nabble.com/optimization-causes-CLULoad-package-to-fail-tp239397.html
Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.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


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