diff options
author | Chris Johns <chrisj@rtems.org> | 2009-05-18 23:50:10 +0000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2009-05-18 23:50:10 +0000 |
commit | 9c22907122581564091d16c325afb6efbb871ca0 (patch) | |
tree | 9f7ad12fa87e6abd1eeb04b1e29625f8fdd2fb3c /testsuites/libtests/cpuuse/tswitch.c | |
parent | 2009-05-19 Chris Johns <chrisj@rtems.org> (diff) | |
download | rtems-9c22907122581564091d16c325afb6efbb871ca0.tar.bz2 |
2009-05-19 Chris Johns <chrisj@rtems.org>
* cpuuse/tswitch.c: Lower sample count for small memory targets.
* cpuuse/system.h: Smaller stack size for small memory targets.
* monitor02/init.c: Cannot run on small memory targets.
Diffstat (limited to 'testsuites/libtests/cpuuse/tswitch.c')
-rw-r--r-- | testsuites/libtests/cpuuse/tswitch.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuites/libtests/cpuuse/tswitch.c b/testsuites/libtests/cpuuse/tswitch.c index e84c878b0c..3e0b09741e 100644 --- a/testsuites/libtests/cpuuse/tswitch.c +++ b/testsuites/libtests/cpuuse/tswitch.c @@ -22,7 +22,11 @@ #include "system.h" +#if BSP_SMALL_MEMORY +struct taskSwitchLog taskSwitchLog[100]; +#else struct taskSwitchLog taskSwitchLog[1000]; +#endif int taskSwitchLogIndex; volatile int testsFinished;; @@ -63,3 +67,4 @@ rtems_extension Task_switch( break; } } + |