This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
optimization causes CLULoad package to fail
- From: Felix R <felixr at mailinator dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Thu, 25 Jul 2013 01:32:09 -0700 (PDT)
- Subject: 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