summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smplock01 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* libtest: <rtems/test.h> to <rtems/test-info.h>Sebastian Huber2020-07-231-1/+1
| | | | | | | | Rename this header file to later move <t.h> to <rtems/test.h>. The main feature provided by <rtems/test-info.h> is the output of standard test information which is consumed by the RTEMS Tester. Update #3199.
* 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
* 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
* tests: Use simple console driverSebastian Huber2017-11-061-1/+1
| | | | | 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.
* tests: Remove obsolete TESTS_USE_PRINTKSebastian Huber2017-10-281-1/+0
| | | | | 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.
* smplock01: Fix plot scriptsSebastian Huber2016-12-072-2/+4
|
* smplock01: Fix fairness plot scriptSebastian Huber2016-12-051-1/+1
|
* smptests/smplock01: Test TAS and TTAS locksSebastian Huber2016-11-234-1560/+2508
| | | | Cache align locks in the context.
* smptests/smplock01: Update screen fileSebastian Huber2016-11-032-1555/+1555
|
* smptests/smplock01: Use test supportSebastian Huber2016-10-313-533/+2189
| | | | Convert output to XML.
* score: Add an SMP sequence lock implementationSebastian Huber2016-06-092-24/+342
|
* SMP: Add Mellor-Crummey and Scott (MCS) lockSebastian Huber2016-05-191-14/+159
| | | | | | | | | | Added only for evaluation purposes. We have to compare the performance against the ticket lock on the interesting platforms via smptests/smplock01. The following GCC shortcoming affects the MCS lock: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66867
* smptests/smplock01: Update screen fileSebastian Huber2014-09-011-1/+1
|
* rtems: Rename rtems_smp_get_current_processor()Sebastian Huber2014-04-111-2/+2
| | | | | | | 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-2/+2
| | | | | | 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: Add SMP lock profiling supportSebastian Huber2014-03-141-3/+3
|
* score: Add function to destroy SMP locksSebastian Huber2014-03-111-2/+10
|
* score: Add local context to SMP lock APISebastian Huber2014-03-111-10/+15
| | | | | | | | | | | Add a local context structure to the SMP lock API for acquire and release pairs. This context can be used to store the ISR level and profiling information. It may be later used to enable more sophisticated lock algorithms, e.g. MCS locks. There is only one lock that cannot be used with a local context. This is the per-CPU lock since here we would have to transfer the local context through a context switch which is very complicated.
* score: Add SMP barrierSebastian Huber2014-02-171-52/+14
|
* smptests/smplock01: Use atomic operationsSebastian Huber2014-02-171-57/+41
|
* smp: Add and use _CPU_SMP_Get_current_processor()Sebastian Huber2013-07-171-6/+6
| | | | | | | | | | Add and use _SMP_Get_current_processor() and rtems_smp_get_current_processor(). Delete bsp_smp_interrupt_cpu(). Change type of current processor index from int to uint32_t to match _SMP_Processor_count type.
* score: Rename rtems_smp_get_number_of_processors()Sebastian Huber2013-06-141-2/+2
| | | | | | | | | Rename in rtems_smp_get_processor_count(). Always provide <rtems/score/smp.h> and <rtems/rtems/smp.h>. Add _SMP_Get_processor_count(). This function will be a compile time constant defined to be one on uni-processor configurations. This allows iterations over all processors without overhead on uni-processor configurations.
* smptests/smplock01: New testSebastian Huber2013-05-314-0/+461