Changeset 0bf59cf in rtems


Ignore:
Timestamp:
03/12/14 08:23:34 (10 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
986ddf5
Parents:
4575ae0
git-author:
Sebastian Huber <sebastian.huber@…> (03/12/14 08:23:34)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/14/14 07:46:51)
Message:

Add documentation for profiling

Location:
doc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • doc/bsp_howto/support.t

    r4575ae0 r0bf59cf  
    284284set of support routines.
    285285
     286@section Interrupt Delay Profiling
     287
     288The RTEMS profiling needs support by the BSP for the interrupt delay times.  In
     289case profiling is enabled via the RTEMS build configuration option
     290@code{--enable-profiling} (in this case the pre-processor symbol
     291@code{RTEMS_PROFILING} is defined) a BSP may provide data for the interrupt
     292delay times.  The BSP can feed interrupt delay times with the
     293@code{_Profiling_Update_max_interrupt_delay()} function
     294(@code{#include <rtems/score/profiling.h>}).  For an example please have a look
     295at @code{c/src/lib/libbsp/sparc/leon3/clock/ckinit.c}.
     296
    286297@section Programmable Interrupt Controller API
    287298
  • doc/cpu_supplement/general.t

    r4575ae0 r0bf59cf  
    363363@end itemize
    364364
     365@section Interrupt Profiling
     366
     367The RTEMS profiling needs support by the CPU port for the interrupt entry and
     368exit times.  In case profiling is enabled via the RTEMS build configuration
     369option @code{--enable-profiling} (in this case the pre-processor symbol
     370@code{RTEMS_PROFILING} is defined) the CPU port may provide data for the
     371interrupt entry and exit times of the outer-most interrupt.  The CPU port can
     372feed interrupt entry and exit times with the
     373@code{_Profiling_Outer_most_interrupt_entry_and_exit()} function
     374(@code{#include <rtems/score/profiling.h>}).  For an example please have a look
     375at @code{cpukit/score/cpu/arm/arm_exc_interrupt.S}.
     376
    365377@c
    366378@c
Note: See TracChangeset for help on using the changeset viewer.