loading the CPU and exercising the SDRAM | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
I am writing a test suite that runs all the peripherals on our custom
AT91RM9200 board for EMC testing, burn-in tests and thermal testing. I want a
small programme that will run the CPU at full load and will access the SDRAM
intensively.
How do I know if my code is using the SDRAM and not just using the cache? How
can I make it so that my programme doesn't use the CPU cache?
For example, this simple piece of code runs the CPU at around 98% which is
good, but I don't know if it's using the SDRAM or the internal cache.
int main(int argc, char **argv)
{
volatile long a;
while(1)
a = a * a;
}
Suggestions?
regards,
Aras Vaichas
-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php
[Site Home] [IETF Annouce] [Security] [Bugtraq] [Linux] [Linux ARM Kernel] [Linux MIPS] [ECOS] [Tools] [DDR & Rambus] [Monitors]