summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/profiling.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* score: Fix interrupt profilingSebastian Huber2016-11-241-0/+6
| | | | | | | | | | Callers of _Thread_Do_dispatch() must have a valid Per_CPU_Control::Stats::thread_dispatch_disabled_instant. Call _Profiling_Outer_most_interrupt_entry_and_exit() with the interrupt stack to not exceed Per_CPU_Control::Interrupt_frame. Update #2751.
* score: _Thread_Dispatch_disable_critical()Sebastian Huber2015-05-191-0/+21
| | | | | | | Thread dispatching is disabled in case interrupts are disabled. To get an accurate thread dispatch disabled time it is important to use the interrupt disabled instant in case a transition from an interrupt disabled section to a thread dispatch level section happens.
* score: Use common names for per-CPU variablesSebastian Huber2014-04-221-10/+10
| | | | | | | | | | | | | | | | Use "cpu" for an arbitrary Per_CPU_Control variable. Use "cpu_self" for the Per_CPU_Control of the current processor. Use "cpu_index" for an arbitrary processor index. Use "cpu_index_self" for the processor index of the current processor. Use "cpu_count" for the processor count obtained via _SMP_Get_processor_count(). Use "cpu_max" for the processor maximum obtained by rtems_configuration_get_maximum_processors().
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-211-1/+1
|
* score: Add per-CPU profilingSebastian Huber2014-03-141-0/+113
Add per-CPU profiling stats API. Implement the thread dispatch disable level profiling. The interrupt profiling must be implemented in CPU port specific parts (mostly assembler code). Add a support function _Profiling_Outer_most_interrupt_entry_and_exit() for this purpose.