summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smpmigration01 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Canonicalize config.h includeSebastian Huber2020-04-161-1/+1
| | | | | | | | Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
* rtems: Add rtems_scheduler_get_processor_maximum()Sebastian Huber2019-04-091-1/+1
| | | | | | | | | | | Add rtems_scheduler_get_processor_maximum() as a replacement for rtems_get_processor_count(). The rtems_get_processor_count() is a bit orphaned. Adopt it by the Scheduler Manager. The count is also misleading, since the processor set may have gaps and the actual count of online processors may be less than the value returned by rtems_get_processor_count(). Update #3732.
* rtems: Add rtems_scheduler_get_processor()Sebastian Huber2019-04-091-1/+1
| | | | | | | | | | | Add rtems_scheduler_get_processor() as a replacement for rtems_get_current_processor(). The rtems_get_current_processor() is a bit orphaned. Adopt it by the Scheduler Manager. This is in line with the glibc sched_getcpu() function. Deprecate rtems_get_current_processor(). Update #3731.
* testsuite/smptests: Merged nested Makefile.am files into one Makefile.amChris Johns2018-04-101-19/+0
| | | | | | This change is part of the testsuite Makefile.am reorganization. Update #3382
* smpmigration01: Enable floating-point outputSebastian Huber2018-01-191-0/+1
|
* tests: Use simple console driverSebastian Huber2017-11-061-1/+1
| | | | | Update #3170. Update #3199.
* tests: Delete obsolete TESTS_USE_PRINTFSebastian Huber2017-11-021-1/+0
| | | | | Update #3170. Update #3199.
* tests: Remove TEST_INITSebastian Huber2017-10-281-2/+0
| | | | | | | | The TEST_EXTERN is a used only by the system.h style tests and they use CONFIGURE_INIT appropriately. Update #3170. Update #3199.
* testsuite: Use printk for all test output where possible.Chris Johns2017-10-231-0/+2
| | | | | | | | | | - Remove the printf support leaving the direct printk support configured with TESTS_USE_PRINTK and all other output goes via a buffered vsniprintf call to printk. - Control the test's single init for functions and global data with TEST_INIT and not CONFIGURE_INIT. They are now separate. Updates #3170.
* Rename CONFIGURE_SMP_MAXIMUM_PROCESSORSSebastian Huber2017-02-141-1/+1
| | | | | | | Rename CONFIGURE_SMP_MAXIMUM_PROCESSORS to CONFIGURE_MAXIMUM_PROCESSORS since the SMP part is superfluous. Update #2894.
* Remove CONFIGURE_SMP_APPLICATIONSebastian Huber2017-02-021-2/+0
| | | | | | Enable the SMP support if CONFIGURE_SMP_MAXIMUM_PROCESSORS > 1. Update #2893.
* smpmigration01: Delete timing dependent assertSebastian Huber2015-03-251-3/+6
| | | | | | The cycles per runner depends too heavily on the hardware timing making the assert unreliable. Delete runner tasks before we print out the status.
* tests: Add documentationSebastian Huber2014-09-011-2/+3
|
* rtems: Rename rtems_smp_get_current_processor()Sebastian Huber2014-04-111-1/+1
| | | | | | | Rename rtems_smp_get_current_processor() in rtems_get_current_processor(). Make rtems_get_current_processor() a function in uni-processor configurations to enable ABI compatibility with SMP configurations.
* rtems: Rename rtems_smp_get_processor_count()Sebastian Huber2014-04-111-1/+1
| | | | | | Rename rtems_smp_get_processor_count() in rtems_get_processor_count(). Make rtems_get_processor_count() a function in uni-processor configurations to enable ABI compatibility with SMP configurations.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-211-1/+1
|
* tests/smptests: Use <rtems/test.h>Sebastian Huber2014-03-171-3/+6
|
* score: _CPU_SMP_Get_current_processor()Sebastian Huber2014-02-212-18/+64
| | | | | | | Remove RTEMS_COMPILER_PURE_ATTRIBUTE from _SMP_Get_current_processor() and all _CPU_SMP_Get_current_processor(). Make inline ASM statements volatile again. Test smptests/smpmigration01 showed that GCC optimizes too much otherwise.
* smp: Add Deterministic Priority SMP SchedulerSebastian Huber2013-08-201-12/+12
|
* smp: Optimize Simple SMP schedulerSebastian Huber2013-08-201-12/+12
| | | | | | | | | | Add Thread_Control::is_in_the_air field if configured for SMP. This helps to simplify the extract operation and avoids superfluous inter-processor interrupts. Move the processor allocation step into the enqueue operation. Add and use _Scheduler_simple_smp_Get_highest_ready(). Add and use _Scheduler_SMP_Get_lowest_scheduled().
* smptests/smpmigration01: Fix start sequenceSebastian Huber2013-08-081-0/+2
| | | | Start the runner after the context is initialized.
* smptests/smpmigration01: New testSebastian Huber2013-08-054-0/+260