Commit Graph

10 Commits

Author SHA1 Message Date
Sebastian Huber
f3508c44b5 tmtests/tmcontext01: Improve cache dirty function
Increment by cache line size to allow more cycles per second.
2014-09-11 07:33:16 +02:00
Sebastian Huber
8d30713d42 tmtests/tmcontext01: Improve cache dirty function 2014-09-08 07:53:03 +02:00
Sebastian Huber
4bc8d2e717 rtems: Rename rtems_smp_get_processor_count()
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-04-11 08:52:54 +02:00
Sebastian Huber
a75242eb65 tmtests/tmcontext01: Use <rtems/test.h> 2014-03-25 16:46:37 +01:00
bjorn larsson
2ead50ac4e tmtests: convert to test.h 2014-03-25 08:06:37 +01:00
Chris Johns
c49985691f Change all references of rtems.com to rtems.org. 2014-03-21 08:10:47 +11:00
Sebastian Huber
53ad908a64 score: Add SMP lock profiling support 2014-03-14 08:46:49 +01:00
Sebastian Huber
28779c70ff score: Add function to destroy SMP locks 2014-03-11 10:58:09 +01:00
Sebastian Huber
d50acdbb6c score: Add local context to SMP lock API
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-03-11 10:58:09 +01:00
Sebastian Huber
9abbb6ab97 tmtests/tmcontext01: New test 2014-02-28 09:06:20 +01:00