summaryrefslogtreecommitdiff
path: root/testsuites/smptests/smplock01 (follow)
AgeCommit message (Collapse)Author
2020-04-16Canonicalize config.h includeSebastian Huber
Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
2018-04-10testsuite/smptests: Merged nested Makefile.am files into one Makefile.amChris Johns
This change is part of the testsuite Makefile.am reorganization. Update #3382
2017-11-06tests: Use simple console driverSebastian Huber
Update #3170. Update #3199.
2017-10-28tests: Remove TEST_INITSebastian Huber
The TEST_EXTERN is a used only by the system.h style tests and they use CONFIGURE_INIT appropriately. Update #3170. Update #3199.
2017-10-28tests: Remove obsolete TESTS_USE_PRINTKSebastian Huber
Update #3170. Update #3199.
2017-10-23testsuite: Use printk for all test output where possible.Chris Johns
- 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.
2017-02-14Rename CONFIGURE_SMP_MAXIMUM_PROCESSORSSebastian Huber
Rename CONFIGURE_SMP_MAXIMUM_PROCESSORS to CONFIGURE_MAXIMUM_PROCESSORS since the SMP part is superfluous. Update #2894.
2017-02-02Remove CONFIGURE_SMP_APPLICATIONSebastian Huber
Enable the SMP support if CONFIGURE_SMP_MAXIMUM_PROCESSORS > 1. Update #2893.
2016-12-07smplock01: Fix plot scriptsSebastian Huber
2016-12-05smplock01: Fix fairness plot scriptSebastian Huber
2016-11-23smptests/smplock01: Test TAS and TTAS locksSebastian Huber
Cache align locks in the context.
2016-11-03smptests/smplock01: Update screen fileSebastian Huber
2016-10-31smptests/smplock01: Use test supportSebastian Huber
Convert output to XML.
2016-06-09score: Add an SMP sequence lock implementationSebastian Huber
2016-05-19SMP: Add Mellor-Crummey and Scott (MCS) lockSebastian Huber
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
2014-09-01smptests/smplock01: Update screen fileSebastian Huber
2014-04-11rtems: Rename rtems_smp_get_current_processor()Sebastian Huber
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.
2014-04-11rtems: Rename rtems_smp_get_processor_count()Sebastian Huber
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.
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns
2014-03-17tests/smptests: Use <rtems/test.h>Sebastian Huber
2014-03-14score: Add SMP lock profiling supportSebastian Huber
2014-03-11score: Add function to destroy SMP locksSebastian Huber
2014-03-11score: Add local context to SMP lock APISebastian Huber
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.
2014-02-17score: Add SMP barrierSebastian Huber
2014-02-17smptests/smplock01: Use atomic operationsSebastian Huber
2013-07-17smp: Add and use _CPU_SMP_Get_current_processor()Sebastian Huber
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.
2013-06-14score: Rename rtems_smp_get_number_of_processors()Sebastian Huber
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.
2013-05-31smptests/smplock01: New testSebastian Huber