summaryrefslogtreecommitdiffstats
path: root/doc/cpu_supplement/general.t
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-12 09:23:34 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-14 08:46:51 +0100
commit0bf59cf0ae0aa28e3c09d01c3d3dd17b82283949 (patch)
treee396ce525339911992b093625b4abad493266cbe /doc/cpu_supplement/general.t
parentsmptests/smpload01: New test (diff)
downloadrtems-0bf59cf0ae0aa28e3c09d01c3d3dd17b82283949.tar.bz2
Add documentation for profiling
Diffstat (limited to 'doc/cpu_supplement/general.t')
-rw-r--r--doc/cpu_supplement/general.t12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/cpu_supplement/general.t b/doc/cpu_supplement/general.t
index deca4de3b3..9c952a7e97 100644
--- a/doc/cpu_supplement/general.t
+++ b/doc/cpu_supplement/general.t
@@ -362,6 +362,18 @@ provide the following two functions
counter values.
@end itemize
+@section Interrupt Profiling
+
+The RTEMS profiling needs support by the CPU port for the interrupt entry and
+exit times. In case profiling is enabled via the RTEMS build configuration
+option @code{--enable-profiling} (in this case the pre-processor symbol
+@code{RTEMS_PROFILING} is defined) the CPU port may provide data for the
+interrupt entry and exit times of the outer-most interrupt. The CPU port can
+feed interrupt entry and exit times with the
+@code{_Profiling_Outer_most_interrupt_entry_and_exit()} function
+(@code{#include <rtems/score/profiling.h>}). For an example please have a look
+at @code{cpukit/score/cpu/arm/arm_exc_interrupt.S}.
+
@c
@c
@c